Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tags t-sql, stored procedures Rss

<< Previous 20    Items 21 to 40 of 96    Next 20 >>
 

Passing a Table to A Stored Procedure

In the first article of a new series on T-SQL tips, Jacob Sebastian brings us a very useful technique. How to pass a table to a stored procedure so some set of rows can be operated on using some business logic.   Read more...
By Jacob Sebastian 2007/12/07 (first published: 2007/05/30) | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 65,140 reads

Giving Permissions through Stored Procedures

QL 2005 adds two new methods – signing with certificates and impersonation with EXECUTE AS – that can manage cases where the classic method of ownership chaining fails. I explain the two new methods, as well as the old one, and warns you about the pitfalls.  Read more...
By Additional Articles 2008/04/15 | Source: Erland Sommarskog's SQL Page | Category: t-sql
Rating:  Rate this |   Briefcase | 3,028 reads

How to Share Data Between Stored Procedures

Different ways of passing sets of data between stored procedures.  Read more...
Rating:  Rate this |   Briefcase | 7,422 reads

Designing High Performance Stored Procedures

Stored procedures can be an effective way to handle conflicting needs, but it's not always so obvious how to write them so they both perform well and scale.  Read more...
By Additional Articles 2007/02/05 | Source: DevX | Category: performance tuning
Rating:  Rate this |   Briefcase | 10,159 reads

Passing a Table to A Stored Procedure

In the first article of a new series on T-SQL tips, Jacob Sebastian brings us a very useful technique. How to pass a table to a stored procedure so some set of rows can be operated on using some business logic.   Read more...
By Jacob Sebastian 2007/12/07 (first published: 2007/05/30) | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 65,140 reads

Insert Update Stored Procedure for a table

Generic Script for Insert Update Stored Procedures  Read more...
By Prasad Bhogadi 2012/09/05 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 27,489 reads

Output Parameters

Regular columnist Robert Marda writes about the basics of using output parameters. If you're not using output params we hope this article will get you started - they are a great way to return less data to the client, perfect if you need only a few values and not a recordset/resultset.   Read more...
By Robert Marda 2007/10/26 (first published: 2003/11/25) | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 31,656 reads

Passing a Table to A Stored Procedure

In the first article of a new series on T-SQL tips, Jacob Sebastian brings us a very useful technique. How to pass a table to a stored procedure so some set of rows can be operated on using some business logic.   Read more...
By Jacob Sebastian 2007/12/07 (first published: 2007/05/30) | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 65,140 reads

Nesting Stored Procedures

We're pleased to announce that Robert will be writing for us each month - generally on stored procedures, but occasionally on a different topic. This article discusses how nesting stored procedures works and how to use @@NextLevel. Good reading! If there is a stored procedure topic you'd like to see covered, add a comment to the article or email us at articles@sqlservercentral.com   Read more...
By Robert Marda 2007/05/18 (first published: 2003/05/23) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 34,857 reads

Sales Order Workshop Part IV

In the fourth installment of this series, Jacob Sebastian moves on to SQL Server 2005 and the new XML capabilities that make working with XML data easier than ever.   Read more...
By Jacob Sebastian 2007/04/05 | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 12,038 reads

Sales Order Workshop Part III

In the previous articles, Jacob Sebastian looked at using XML to save a sales order with variable numbers of line items to a SQL Server 2000 database. In this part, he expands upon the processing to access that data from multiple nodes.   Read more...
By Jacob Sebastian 2007/04/03 | Source: SQLServerCentral.com | Category: miscellaneous
Rating: |  Discuss |   Briefcase | 6,612 reads

Sales Order Workshop Part II

In part 2 of this series, Jacob Sebastion continues looking at XML in SQL Server 2000 with some advanced XML processing.  Read more...
By Jacob Sebastian 2007/03/29 | Source: SQLServerCentral.com | Category: miscellaneous
Rating: |  Discuss |   Briefcase | 7,180 reads

Saving a Sales Order Part 1

How many times have you tried to save a sales order to your database? For many DBAs this is a common scenario and one of the challenges is the many round trips for the various line items. Jacob Sebastian brings us the first part of a four part series looking at how you can use XML to reduce the round trips in SQL Server 2000.   Read more...
By Jacob Sebastian 2007/03/27 | Source: SQLServerCentral.com | Category: miscellaneous
Rating: |  Discuss |   Briefcase | 11,882 reads

SQL Server Error Handling Workbench

Grant Fritchey steps into the workbench arena, with an example-fuelled examination of catching and gracefully handling errors in SQL 2000 and 2005, including worked examples of the new TRY..CATCH capabilities.  Read more...
By Additional Articles 2007/03/06 | Source: SimpleTalk | Category: stored procedures
Rating:  Rate this |   Briefcase | 3,016 reads

Introduction to ADO - The Command Object

The third article in a four part series, this week Andy shows how to use the command object to work with stored procedure parameters.   Read more...
By Andy Warren 2007/02/09 (first published: 2001/12/18) | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 39,443 reads

Designing High Performance Stored Procedures

Stored procedures can be an effective way to handle conflicting needs, but it's not always so obvious how to write them so they both perform well and scale.  Read more...
By Additional Articles 2007/02/05 | Source: DevX | Category: performance tuning
Rating:  Rate this |   Briefcase | 10,159 reads

Implementing a T-SQL semaphore

SQL Server does a great job of handling concurrency & ensuring that users can make changes in multi-user systems without conflict. However there are times a strict calling order is needed.   Read more...
By Robert Cary 2006/10/17 | Source: SQLServerCentral.com | Category: miscellaneous
Rating: |  Discuss |   Briefcase | 10,475 reads

Self Eliminated Parameters

Optional parameters are easily handled with NULL values in T-SQL, but there are cases where this doesn't always work. Alex Grinberg brings us a new technique to allow your stored procedures to be structured to deal with this situation without dynamic SQL.   Read more...
By Alex Grinberg 2006/10/09 | Source: SQLServerCentral.com | Category: advanced querying
Rating: |  Discuss |   Briefcase | 9,041 reads

Adding In HTML Links

While the strength of SQL Server is not in string manipulation, it can be very handy when backing a web site to be able to automatically include links for some of your content. New author Grey Wilson brings us an easy technique to easily deliver results to developers with URLs embedded inside.   Read more...
By Grey Wilson 2006/08/08 | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 5,548 reads

Attach and Detach..Again

Attaching and detaching databases is old hat these days right? Do you know how to reattach a database that has more than 16 files? Or do you know what happens if you try to reattach a database that had two log files but one is missing/deleted? And even if you know the answer to that - do you know how to fix it without restoring from backup? Maybe it's not ALL old hat just yet!   Read more...
By Andy Warren 2006/06/23 (first published: 2002/04/05) | Source: SQLServerCentral.com | Category: administration
Rating: |  Discuss |   Briefcase | 24,172 reads
<< Previous 20    Items 21 to 40 of 96    Next 20 >>
 
Tags
miscellaneous (20)    
programming (18)    
sql server 7 (16)    
administration (13)    
advanced querying (9)    
performance tuning (9)    
ado (7)    
xml (6)    
security (5)    
strategies (5)    
configuring (4)    
sql server 2005 (4)    
sql-dmo (4)    
triggers (4)    
visual basic 6 (4)    
dts (3)    
installation (3)    
linked server (3)    
backup / restore (2)    
database design (2)    
development (2)    
indexing (2)    
maintenance and management (2)    
monitoring (2)    
sql server 2008 (2)    
user defined function (udf) (2)    
xsl (2)    
::fn_listextendedproperty (1)    
asp (1)    
basics (1)    
best and worst practices (1)    
coalesce (1)    
columns (1)    
dba (1)    
distributed queries (1)    
dynamic sql (1)    
english query (1)    
find foreign key using sql (1)    
indexed views (1)    
insert update stored procedure generation (1)    
naming standards (1)    
openxml (1)    
palalelism (1)    
parameters (1)    
replication (1)    
schemas/dtds (1)    
search (1)    
semaphore (1)    
source control (1)    
sql puzzles (1)    
sql server 6.5 (1)    
sqlclr (1)    
stress test (1)    
syscolumns (1)    
sysobjects (1)    
system development life cycle (1)    
system tables (1)    
table field information (1)    
table metadata (1)    
tables (1)    
updategrams (1)    
utility (1)    
worst practices (1)