MS SQL Server plug-in & variable for SQL Script

Got a problem you cannot solve? Try here.
Post Reply
valerio
Posts: 2
Joined: Thu Sep 17, 2009 9:29 am

MS SQL Server plug-in & variable for SQL Script

Post by valerio »

Hi All;

The Plug-In "MS SQL Server" executes a SQL Script fine as long as the script ist static. Is it possible to use a Variable instead of the static text? Or is there a way to tell the Plug-In to load a script file at runtime?

Or in the worst case: do I have to write my own Plug-In?

thanks for any hint
Arno
KennethLee
Posts: 16
Joined: Wed Sep 16, 2009 4:00 pm

Post by KennethLee »

Actually, from what I've tried, you can put in variables into the SQL script. I do so in my current install and it seems to work fine.

I use $<variable>$ within the sql script. Try that and see if it works.
valerio
Posts: 2
Joined: Thu Sep 17, 2009 9:29 am

SUCCESS

Post by valerio »

SUCCESS is the result of the script!!

Thanks for your help.
Arno
Post Reply