Knowledge Updates
Friday, December 16, 2011
Getting value in swlwct query inside SP & store it in variable in Sql
This is a small example,where we can execute the select query & store the value in a variable in sql query.
Declare @cnt int
Select @cnt= COUNT(*) FROM orderhead
print @cnt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment