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 ...
You can use full, inline SQL statements in the prepared statement function or send the database a stored procedure function. A stored procedure is a program that is stored on the database server.
My thanks to Chris at the SQL Server Programming Newsgroup for his help on the stored procedure. [The following example is in VBScript and was created on NT 4.0 Workstation, PWS, and SQL 7.0. BTW you ...
This example uses the type to accept one or more rows of the JobSpecifications type in a parameter called @JobCriteria: But, while everything is better on the T-SQL side of the processing, the code to ...
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 ...
How do I go about creating a dataset for this report that uses a stored procedure/sql view which will pull out a dynamic list of tables to query from? My goal is to be able to select "Server1 ...
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 screenshot lists the source of a SQL Server 2014 stored procedure hitting the AdventureWorks2012 database, selecting data from the Customer and SalesOrderHeader tables. Both of these tables ...