Click here to Skip to main content
15,898,036 members
Home / Discussions / Database
   

Database

 
GeneralRe: TRIGGER problem!!!!!! Help me! Pin
Karan_TN30-May-08 21:16
Karan_TN30-May-08 21:16 
GeneralRe: TRIGGER problem!!!!!! Help me! Pin
Peter Josefsson Sweden2-Jun-08 2:11
Peter Josefsson Sweden2-Jun-08 2:11 
GeneralRe: TRIGGER problem!!!!!! Help me! Pin
Karan_TN6-Jun-08 19:13
Karan_TN6-Jun-08 19:13 
QuestionBuilt in stored procedures Pin
dan!sh 28-May-08 23:53
professional dan!sh 28-May-08 23:53 
AnswerRe: Built in stored procedures Pin
Mark J. Miller29-May-08 3:32
Mark J. Miller29-May-08 3:32 
QuestionCopy data from one table to another problem Pin
soniasan28-May-08 22:42
soniasan28-May-08 22:42 
AnswerRe: Copy data from one table to another problem Pin
ChandraRam28-May-08 23:13
ChandraRam28-May-08 23:13 
GeneralRe: Copy data from one table to another problem Pin
Ashfield29-May-08 1:46
Ashfield29-May-08 1:46 
Be warned, if there are large volumes of data using the SELECT INTO method could lock all other processes out as it locks the system tables (such as syscolumns, sysobjects etc) for the duration of the select.

It is much better to do it in two steps:

SELECT * INTO new_table FROM old_table WHERE 1 = 2 -- creates the new table
INSERT INTO new_table SELECT * FROM old_table -- populate it


Bob
Ashfield Consultants Ltd

QuestionMaximum output length for PRINT in SQL 2005 Pin
MatthysDT28-May-08 21:38
MatthysDT28-May-08 21:38 
AnswerRe: Maximum output length for PRINT in SQL 2005 Pin
Ashfield29-May-08 2:16
Ashfield29-May-08 2:16 
QuestionODP.net (oracle data provider) - batches Pin
Member 453749128-May-08 19:42
Member 453749128-May-08 19:42 
Questionmultiple sql queries Pin
twsted f828-May-08 9:28
twsted f828-May-08 9:28 
AnswerRe: multiple sql queries Pin
Blue_Boy28-May-08 13:27
Blue_Boy28-May-08 13:27 
QuestionCould not find file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE' error in VS 2008 Pin
MPCHAM28-May-08 3:49
MPCHAM28-May-08 3:49 
AnswerRe: Could not find file 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE' error in VS 2008 Pin
Mike Dimmick2-Jun-08 5:43
Mike Dimmick2-Jun-08 5:43 
QuestionNeed to display the links in datalist of pros in redcolor who r working for us Pin
subbu.sk28-May-08 2:50
subbu.sk28-May-08 2:50 
QuestionBinary data with scripts... Pin
Chinners28-May-08 2:41
Chinners28-May-08 2:41 
AnswerRe: Binary data with scripts... Pin
Chinners29-May-08 5:24
Chinners29-May-08 5:24 
Questionneed to locate all the SQL servers and their databases in domain Pin
S.Aijaz28-May-08 1:54
S.Aijaz28-May-08 1:54 
Questionparameter problem Pin
Mr.Kode28-May-08 1:07
Mr.Kode28-May-08 1:07 
AnswerRe: parameter problem Pin
Mark J. Miller29-May-08 4:15
Mark J. Miller29-May-08 4:15 
QuestionApplication Side, SQL Queries. Pin
ctrlnick27-May-08 21:28
ctrlnick27-May-08 21:28 
AnswerRe: Application Side, SQL Queries. Pin
Mark J. Miller29-May-08 4:03
Mark J. Miller29-May-08 4:03 
Questionsql server locking mechanism Pin
MozhdehQeraati27-May-08 21:01
MozhdehQeraati27-May-08 21:01 
AnswerRe: sql server locking mechanism Pin
Ashfield27-May-08 21:10
Ashfield27-May-08 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.