News

SQL Server is one of the best products to come out of Microsoft, but not every professional knows how to use it effectively. For example, some might find it difficult to create a stored procedure ...
While my code worked in every version of SQL Server, it was hardly "hip and happening ... you can now use it as a parameter in any stored procedure where it makes sense. This example uses the type to ...
The above example was simple of course ... Now when you have enabled the preview feature to call SQL Server stored Procedures you will notice the Stored procedure tab: In the Stored Procedures ...
references the lCategoryID primary key in the same table<BR>szCategoryName varchar(100)<BR><BR>So for example you could have something like this to desribe the relationship: Electronics ...
This example calls a stored procedure that requires two parameters: Dim soe As New SalesOrdersEntities() If soe.Database.ExecuteSqlCommand("GetCustomersInDivision {0}, {1}", 123, "West") = -1 Then ' .
A while back I wrote about the upcoming SQL Server Stored Procedure feature ... So in the above example, we have R_ID and R_Description being converted. R_ID is a number and R_Description is ...
I’ll explain this by using examples in DDL ... extensions to the ANSI/ISO SQL standards. In SQL Server, the initial dialect for stored procedures (or stored procs) was Transact-SQL, aka T ...
Determine when to use stored procedures vs. SQL in the code Your email has been sent Tony Patton discusses the merits of stored procedures versus placing SQL directly in the code. Find out which ...