Skip to main content

All Questions

Tagged with
32 votes
1 answer
19k views

Calling Table-Valued SQL Functions From .NET

Scalar-valued functions can be called from .NET as follows: SqlCommand cmd = new SqlCommand("testFunction", sqlConn); //testFunction is scalar cmd.CommandType = CommandType.StoredProcedure; cmd....
goric's user avatar
  • 11.7k
68 votes
2 answers
6k views

Decoding T-SQL CAST in C#/VB.NET

Recently our site has been deluged with the resurgence of the Asprox botnet SQL injection attack. Without going into details, the attack attempts to execute SQL code by encoding the T-SQL commands in ...
Dillie-O's user avatar
  • 29.6k

15 30 50 per page
1
2201 2202 2203 2204
2205