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

Content with tag update Rss

   Items 1 to 13 of 13   
 

Update with CASE statement

By Raghavendra Mudugal 2013/02/19 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 2,308 reads

AUTOGENERATE INSERT UPDATE SELECT STATEMENTS UPDATED

I have made an update of this script http://www.sqlservercentral.com/scripts/Metadata/64603/. the new version includes can generate 4 stored procedures for every table in a database  Read more...
By Chris Morton 2013/01/08 | Source: SQLServerCentral.com | Category: autogenerate parameters
Rating: |  Discuss |   Briefcase | 2,901 reads

Update Trigger to Store Only Updated Column and Former Value

History table needs individual rows for each column that has been updated, i.e., a column history.  Read more...
By Larry Schmidt 2012/12/17 | Source: SQLServerCentral.com | Category: trigger
Rating: |  Discuss |   Briefcase | 841 reads

Stairway to T-SQL DML Level 10: Changing Data with the UPDATE Statement

Unless you are working on a reporting-only application you will probably need to update tables in your SQL Server database. To update rows in a table you use the UPDATE statement. In this level we will be discussing how to find and update records in your database, and discuss the pitfalls you might run into when using the UPDATE statement.   Read more...
By Gregory Larsen 2012/10/10 | Category: stairway series
Rating: |  Discuss |   Briefcase | 5,953 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2012/10/08 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 2,594 reads

Restricting updates?

By John Shahan 2012/06/22 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 2,712 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2012/10/08 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 2,594 reads

Automated Trigger To Require a WHERE Clause

Learn how you can build triggers that prevent an update or delete statement from being run without a WHERE clause in this article.  Read more...
By Rahul Kumar Ghosh 2011/01/25 | Source: SQLServerCentral.com | Category: delete
Rating: |  Discuss |   Briefcase | 10,048 reads

Using REPLACE in an UPDATE statement

This article covers using the REPLACE function to selectively replace text inside a string in SQL Server. The REPLACE function is easy to use and very handy with an UPDATE statment.  Read more...
By Additional Articles 2010/05/03 | Source: SQLTeam.com | Category: t-sql
Rating:  Rate this |   Briefcase | 6,770 reads

Poor Man's Enterprise Feature - Lock Pages in Memory

Enable Lock Pages in memory on Standard edition was ONLY an Enterprise feature until now. Read this article to see how you enable this setting in SQL Server.  Read more...
By Amit Singh 2009/10/15 | Source: SQLServerCentral.com | Category: lock pages in memory
Rating: |  Discuss |   Briefcase | 8,454 reads

Swap column values

Interchange column values using a single update query  Read more...
By Divya Agrawal 2009/05/25 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 976 reads

AUTOGENERATE INSERT UPDATE SELECT STATEMENTS

use metadata to generate basic create procedure statements for insert update and select  Read more...
By Chris Morton 2008/11/21 | Source: SQLServerCentral.com | Category: metadata
Rating: |  Discuss |   Briefcase | 3,407 reads

Create standard CreateUpdate Procedure in T-SQL

This stored procedure saves time by creating a standard procedure to create or update a row.  Read more...
By Peter Strömblad 2013/05/23 | Source: SQLServerCentral.com | Category: stored procedures
Rating: |  Discuss |   Briefcase | 1,421 reads
   Items 1 to 13 of 13   
 
Tags
t-sql (5)    
insert (4)    
stored procedures (3)    
chris morton (2)    
codrakon (2)    
delete (2)    
metadata (2)    
select (2)    
3-tier design (1)    
autogenerate (1)    
autogenerate parameters (1)    
data (1)    
domain (1)    
generate (1)    
history (1)    
lock pages in memory (1)    
lookup (1)    
memory management (1)    
merge (1)    
migration (1)    
mkproc_createupdate (1)    
parameters (1)    
performance tuning (1)    
reference (1)    
replace (1)    
stairway series (1)    
static (1)    
store procedure (1)    
swap data (1)    
trigger (1)    
triggers (1)    
update with case (1)