all groups > sql server programming > august 2003 >
You're in the

sql server programming

group:

execute command to express rule


execute command to express rule yskwon
8/20/2003 11:08:41 PM
sql server programming:
Hi All.

I find sql command.

example, javascript eval('1+2+3')
the same function from Ms-sql

Thanks for any help

Re: execute command to express rule Kresimir Radosevic
8/21/2003 8:21:27 AM
Just an idea...

declare @x int
exec sp_executesql N'set @px = 1 + 2 + 3', N'@px int output', @x output
print @x

Regards
KR

[quoted text, click to view]

Re: execute command to express rule Jonathan Chong
8/21/2003 2:19:42 PM
If you are looking for executing dynamic SQL statement then try these:

EXEC () OR sp_executesql

[quoted text, click to view]

AddThis Social Bookmark Button