Viewing 15 posts - 6,946 through 6,960 (of 26,490 total)
Here is what would greatly help getting you what you are requesting, DDL (CREATE TABLE statement(s)) for the table(s) involved, sample data (a series of INSERT INTO statements (some people...
March 7, 2014 at 8:48 am
In simple terms, wrap the three steps in an explicit transaction.
BEGIN TRANSACTION
step 1;
step 2;
step 3;
COMMIT;
There may be more to this if you are looking at adding any kind of error...
March 7, 2014 at 7:28 am
This:
select datename(weekday,getdate())
For more information:
March 7, 2014 at 7:14 am
The Dixie Flatline (3/6/2014)
March 6, 2014 at 9:07 pm
wendy elizabeth (3/6/2014)
;WITH rCust AS ( SELECT CustuserSK] ...
March 6, 2014 at 2:33 pm
Based on what you have posted, really can't provide much help.
Please read the first article I reference in my signature block below. Following the instructions in it regarding the...
March 1, 2014 at 9:39 am
Using a trigger will allow you to audit changes to the table whether the update/insert/delete occurs from a stored procedure or SSMS.
Have you looked at CDC as an audit solution...
March 1, 2014 at 9:28 am
After reading Jeff's post, just a couple of minor changes and my code returns the same results.
--===== If the test table already exists, drop it
IF...
March 1, 2014 at 9:21 am
Give this a try:
--===== If the test table already exists, drop it
IF OBJECT_ID('tempdb..#history') IS NOT NULL
DROP...
February 28, 2014 at 2:43 pm
pixeldude (2/28/2014)
February 28, 2014 at 2:26 pm
Count me in, whether I am State side or in Afghanistan. I think I'll go back to what works for me though, and skip the draft. 🙂
February 27, 2014 at 9:44 pm
SQLRNNR (2/25/2014)
Lynn Pettis (2/25/2014)
Last night home. Start my journey back to Afghanistan Tuesday morning.Good luck and safe travels.
Hope it was a good time back home.
It was a great time...
February 25, 2014 at 11:02 am
Viewing 15 posts - 6,946 through 6,960 (of 26,490 total)