Click here to Skip to main content
15,912,756 members
Home / Discussions / Database
   

Database

 
GeneralRe: Access and comparing dates [modified] Pin
indianet9-Nov-06 7:06
indianet9-Nov-06 7:06 
QuestionDetecting if a database as been updated Pin
steve_rm8-Nov-06 5:24
steve_rm8-Nov-06 5:24 
AnswerRe: Detecting if a database as been updated Pin
Colin Angus Mackay8-Nov-06 6:14
Colin Angus Mackay8-Nov-06 6:14 
QuestionPerformance problems, when using ADO in threads Pin
pma8-Nov-06 5:06
pma8-Nov-06 5:06 
Questiontrigger when updation occur Pin
Vipin.d8-Nov-06 3:17
Vipin.d8-Nov-06 3:17 
AnswerRe: trigger when updation occur Pin
Eric Dahlvang8-Nov-06 6:56
Eric Dahlvang8-Nov-06 6:56 
GeneralRe: trigger when updation occur Pin
Vipin.d8-Nov-06 17:13
Vipin.d8-Nov-06 17:13 
GeneralRe: trigger when updation occur Pin
Eric Dahlvang9-Nov-06 3:02
Eric Dahlvang9-Nov-06 3:02 
If you do not explicitly insert the values into the table within an Instead Of trigger, they will not be inserted. You have it working where you put the old values into your T2 table...but the new values aren't being put into the T1 table. This is because you are using an Instead Of trigger, and you aren't inserting the inserted table values into T1. You could continue to use an Instead Of trigger (which doesn't make much sense), but you would need to do something like this:
INSERT INTO T1
    SELECT Field1,Field2,Field3
    FROM inserted


However, you could just use a regular trigger, and NOT an Instead Of trigger. Rather than this:
CREATE TRIGGER Trig_InsteadOfINS_T1 ON T1
INSTEAD OF INSERT
AS
--etc, etc.


Do this:
CREATE TRIGGER Trig_INS_T1 ON T1
AS
--etc, etc.


--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

QuestionCSV import problem with Money data-type Pin
hasanali008-Nov-06 0:37
hasanali008-Nov-06 0:37 
AnswerRe: CSV import problem with Money data-type Pin
Colin Angus Mackay8-Nov-06 6:05
Colin Angus Mackay8-Nov-06 6:05 
QuestionHow to insert jpeg file into sql server 2000 And how to retrieve to .net form Pin
Parameswar Mal8-Nov-06 0:21
Parameswar Mal8-Nov-06 0:21 
AnswerRe: How to insert jpeg file into sql server 2000 And how to retrieve to .net form Pin
Colin Angus Mackay8-Nov-06 6:02
Colin Angus Mackay8-Nov-06 6:02 
QuestionTrigger Problem in sql server 2000 Pin
monika_vasvani7-Nov-06 20:12
monika_vasvani7-Nov-06 20:12 
AnswerRe: Trigger Problem in sql server 2000 Pin
Mairaaj Khan7-Nov-06 20:36
professionalMairaaj Khan7-Nov-06 20:36 
AnswerRe: Trigger Problem in sql server 2000 Pin
PavanPareta7-Nov-06 22:17
PavanPareta7-Nov-06 22:17 
QuestionSearch creteria based on multiple columns Pin
Ravi Shankar437-Nov-06 20:02
Ravi Shankar437-Nov-06 20:02 
AnswerRe: Search creteria based on multiple columns Pin
PavanPareta9-Nov-06 19:21
PavanPareta9-Nov-06 19:21 
Questiondataware housing Pin
king sunny7-Nov-06 18:47
king sunny7-Nov-06 18:47 
AnswerRe: dataware housing Pin
playout7-Nov-06 18:58
playout7-Nov-06 18:58 
Questionerror browsing reportserver on a sql 2005 64bit machine Pin
playout7-Nov-06 9:16
playout7-Nov-06 9:16 
QuestionConcatenate rows together through SQL query Pin
xoxoxoxoxoxox7-Nov-06 8:04
xoxoxoxoxoxox7-Nov-06 8:04 
JokeRe: Concatenate rows together through SQL query Pin
xoxoxoxoxoxox8-Nov-06 12:21
xoxoxoxoxoxox8-Nov-06 12:21 
AnswerRe: Concatenate rows together through SQL query Pin
Eric Dahlvang9-Nov-06 3:48
Eric Dahlvang9-Nov-06 3:48 
GeneralRe: Concatenate rows together through SQL query Pin
xoxoxoxoxoxox9-Nov-06 13:41
xoxoxoxoxoxox9-Nov-06 13:41 
QuestionHow does sql parameters work? Pin
Genbox7-Nov-06 7:23
Genbox7-Nov-06 7:23 

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.