Viewing 15 posts - 286 through 300 (of 898 total)
Thats great. Glad to hear 🙂
If you don't mind, can you post your trigger code?
We will check and let you know of improvements if any..
April 26, 2013 at 6:43 am
Mr. Kapsicum (4/26/2013)
That is exactly what i was thinking, but How.? its Syntaxa complete Answer will be highly appreciated.
You might appreciate a complete answer but it will not help you...
April 26, 2013 at 6:21 am
You will need to create a trigger check if the column has been updated
If the column has been updated, you can do a ROLLBACK in the trigger with a possible...
April 26, 2013 at 5:52 am
It depends. You will have to test both the queries and check the execution plans.
Sometimes, performance changes when there is change in the Volume of data.
Hence, I would advise you...
April 26, 2013 at 5:47 am
You will have to use an INSERT..SELECT option
INSERTINTO [PLSy]( <<Column1>>, <<Column2>>, ....<<Columnn>> )
SELECT<<Column1>>, <<Column2>>, ....<<Columnn>>
FROM[srv5].[DB].[dbo].[PLSo] -- Navision
WHERE[timestamp] NOT IN ( SELECT [timestamp] FROM [PLSy])
Another better way would be to use...
April 26, 2013 at 4:14 am
What is the recovery model of your database? Is suspect it to be FULL.
If your recovery model is FULL, follow the below steps
1. Take a full database backup
2. Shrink the...
April 26, 2013 at 4:05 am
The link below has a book on SQL Server Profiler by Brad McGehee
April 26, 2013 at 3:58 am
Try creating a UNIQUE KEY constraint with both the columns on GV_Voucher table.
Your FOREIGN KEY constraint in GV_ReceivedOffice table should again be based on these 2 columns.
ALTER TABLE GV_ReceivedOffice ADD...
April 26, 2013 at 3:46 am
Michael L John (4/26/2013)
April 26, 2013 at 3:30 am
Duplicate post. Please post your replies here.
http://www.sqlservercentral.com/Forums/Topic1446842-1292-1.aspx
April 26, 2013 at 3:02 am
What would be the expected output if your results looked like this and why?
The Second SQL Statement Result was like below one,
ID NAME HOURS
1 AAA 20
2 BBB 30
3 CCC 0
4...
April 26, 2013 at 3:00 am
In your table GV_Voucher, the column TransactionID has not been defined as a UNIQUE KEY
You will have to make TransactionID a UNIQUE KEY in GV_Voucher to create this FOREIGN KEY...
April 26, 2013 at 2:33 am
Is it possible for TransactionID to be duplicated in the table GV_Voucher?
If the answer is No, then you can fetch it based on VoucherNo's else you will need TransactionID in...
April 26, 2013 at 2:30 am
iam777here4u (4/25/2013)
April 26, 2013 at 2:14 am
sd_xxx_sd (4/24/2013)
I have a problem with triggers. Trigger must be fired and update COLUMN_A in TABLE2 after insert COLUMN_B in TABLE 1 . Have anyone some idea ?...
April 25, 2013 at 6:41 am
Viewing 15 posts - 286 through 300 (of 898 total)