Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
SQL Query To Get Result Using Dynamic Query
WhatsApp
Arun Kumar
Jul 26
2016
554
0
0
declare
@S nvarchar(
max
) =
'select @x = 1'
declare
@xx
int
set
@xx = 0
exec
sp_executesql @S, N
'@x int out'
, @xx
out
select
@xx
SQL Query
Dynamic Query
Up Next
SQL Query To Get Result Using Dynamic Query