TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
swapna jamalpur
NA
2
930
snowflake db stored procedure
May 5 2021 11:52 AM
Hi,
CREATE OR REPLACE PROCEDURE simple_stored_procedure_example()
RETURNS VARIANT
language javascript
as
$$
var cmd = "select count(*) from TEMP.PUBLIC.TEMP_FCT_DAY_DRVR_TIMESHEET"
var sql = snowflake.createStatement({sqlText: cmd});
var result = sql.execute();
return result;
$$;
call simple_stored_procedure_example();
here, i want to return the row count but i am getting result as [object object]. i need integer value.
please help.
Reply
Answers (
2
)
Get record base on ID.
Set Particular Id li click.