Click here to Skip to main content
15,924,507 members
Home / Discussions / Database
   

Database

 
GeneralRe: stored procedure error Pin
Colin Angus Mackay7-Nov-06 0:30
Colin Angus Mackay7-Nov-06 0:30 
GeneralRe: stored procedure error Pin
Mairaaj Khan7-Nov-06 0:38
professionalMairaaj Khan7-Nov-06 0:38 
AnswerRe: stored procedure error Pin
Mairaaj Khan6-Nov-06 23:57
professionalMairaaj Khan6-Nov-06 23:57 
GeneralRe: stored procedure error Pin
Saira Tanwir7-Nov-06 0:05
Saira Tanwir7-Nov-06 0:05 
GeneralRe: stored procedure error Pin
Mairaaj Khan7-Nov-06 0:19
professionalMairaaj Khan7-Nov-06 0:19 
QuestionTrigger Problem Pin
monika_vasvani6-Nov-06 20:44
monika_vasvani6-Nov-06 20:44 
AnswerRe: Trigger Problem Pin
Coding C#7-Nov-06 0:24
Coding C#7-Nov-06 0:24 
AnswerRe: Trigger Problem Pin
vbkenya7-Nov-06 5:00
vbkenya7-Nov-06 5:00 
You don't have to create a temporary table in the trigger to insert values into another table. All the inserted values are available to you in a SQL Server defined table called 'inserted'. All you have to do is to read the values from this table and insert them into Try1.

For example, for single row insert operations:

CREATE TRIGGER Try_Insert
ON Try
FOR INSERT
AS
INSERT INTO Try1 (columnsList)
SELECT ColumnsList FROM Inserted



Nathan H. Omukwenyi

GeneralRe: Trigger Problem Pin
monika_vasvani7-Nov-06 16:47
monika_vasvani7-Nov-06 16:47 
GeneralRe: Trigger Problem Pin
Mairaaj Khan7-Nov-06 19:51
professionalMairaaj Khan7-Nov-06 19:51 
GeneralRe: Trigger Problem Pin
vbkenya8-Nov-06 0:31
vbkenya8-Nov-06 0:31 
Questiondeclaration of variables Pin
Ravi Shankar436-Nov-06 19:56
Ravi Shankar436-Nov-06 19:56 
AnswerRe: declaration of variables Pin
coolestCoder6-Nov-06 20:28
coolestCoder6-Nov-06 20:28 
GeneralRe: declaration of variables Pin
Ravi Shankar436-Nov-06 20:52
Ravi Shankar436-Nov-06 20:52 
AnswerRe: declaration of variables Pin
Mairaaj Khan6-Nov-06 20:50
professionalMairaaj Khan6-Nov-06 20:50 
QuestionWhat is the Sql Query? Pin
kumar bharat bhusanam6-Nov-06 19:15
kumar bharat bhusanam6-Nov-06 19:15 
AnswerRe: What is the Sql Query? Pin
coolestCoder6-Nov-06 20:34
coolestCoder6-Nov-06 20:34 
GeneralRe: What is the Sql Query? Pin
PavanPareta10-Nov-06 2:24
PavanPareta10-Nov-06 2:24 
Questionplz solve this Pin
Ravi Shankar436-Nov-06 19:07
Ravi Shankar436-Nov-06 19:07 
AnswerRe: plz solve this Pin
coolestCoder6-Nov-06 19:47
coolestCoder6-Nov-06 19:47 
GeneralRe: plz solve this Pin
Ravi Shankar436-Nov-06 20:12
Ravi Shankar436-Nov-06 20:12 
Questionhow to access errors from sql server 2000 in vb.net Pin
king sunny6-Nov-06 18:31
king sunny6-Nov-06 18:31 
AnswerRe: how to access errors from sql server 2000 in vb.net Pin
coolestCoder6-Nov-06 19:51
coolestCoder6-Nov-06 19:51 
QuestionSQL appending result rows Pin
xoxoxoxoxoxox6-Nov-06 12:57
xoxoxoxoxoxox6-Nov-06 12:57 
AnswerRe: SQL appending result rows Pin
Stathread6-Nov-06 18:31
Stathread6-Nov-06 18:31 

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.