Viewing 15 posts - 7,216 through 7,230 (of 49,571 total)
suedunham2 (11/24/2014)
November 24, 2014 at 7:05 am
Odd requirement, but whatever...
Then this will do that
CREATE TRIGGER [Test_TRG] ON CUSTOMERS
FOR UPDATE, DELETE
AS
INSERT INTO users values ('0789','Sheker','WT_WRO')
Any time any row on the customers table is updated or deleted, the...
November 24, 2014 at 7:04 am
Please don't post multiple threads for the same question.
No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1638528-391-1.aspx
November 24, 2014 at 5:55 am
There's no such function as DELETE()
The UPDATE() function returns true if the column was included in the update. Since DELETE affects the entire row, there would be no point in...
November 24, 2014 at 5:48 am
The first log backup on Monday is so large because it contains all the log records since Friday afternoon, including all those index rebuilds.
p.s. Stop shrinking your database!!! If you're...
November 24, 2014 at 5:21 am
Sure, here's all the catalog views, between them all you should be able to get what data you need.
November 24, 2014 at 5:11 am
INSERT INTO <data warehouse table> (<column list>)
SELECT <relevant columns transformed as necessary>
FROM <OLTP tables>
WHERE <whatever conditions are applicable>
Repeat for all DWH tables
Honestly, you may as well have just asked "Please...
November 24, 2014 at 3:09 am
AlexSQLForums (11/21/2014)
Oldest distributed LSN : (0:0:0)
Oldest non-distributed LSN...
November 24, 2014 at 3:04 am
kenneth.mofokeng (11/24/2014)
Take a Full backup of the database then perform transaction log backups.
No.
Firstly the DB is in simple recovery, second the problem has nothing whatsoever to do with...
November 24, 2014 at 2:58 am
They're using the same method of storing times as MSDB does. It's hell to work with unless all you want to do is display.
It's likely a case that they don't...
November 24, 2014 at 2:37 am
Because they don't understand the importance of good data types.
Because they've been taking design lessons from MSDB.
Because they don't realise that SQL 2008 has a TIME data type and don't...
November 24, 2014 at 2:28 am
Really?
Look at the massive amounts of detail that you've given us. What kind of example do you really think I can give you based on a one line question with...
November 24, 2014 at 2:17 am
You're probably better off asking this on an Oracle forum. This site is for Microsoft SQL Server.
November 24, 2014 at 1:54 am
Koen Verbeeck (11/24/2014)
Do you get a seperate IP address when you browse InPrivate?
No.
Private ignores cookies set by regular browsing, so if they've used client-side cookies to record that you've voted...
November 24, 2014 at 1:47 am
Take it step by step, first write the SQL statements to do each transform, once you've got it working then wrap it in a stored proc. Easier to debug as...
November 24, 2014 at 1:44 am
Viewing 15 posts - 7,216 through 7,230 (of 49,571 total)