Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VS 2005 / Yukon CLR
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00905292
Message ID:
00906861
Views:
16
You can't send a snippet of a managed language to SQL Server in the same fashion that you can send a TSQL query. Any managed code must be compiled into an assembly and the assembly is then registered with the database and server.

Check out this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/sql_ovyukonnetprogfeatures.asp

-Mike

>Sorry to be confusing. I was thinking aloud and wondering if the current issue of being able to inject SQL code into parameterised queries written in t_sql would be made worse if the same thing were possible using a .Net language.
>
>Simon
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform