Viewing 15 posts - 976 through 990 (of 3,348 total)
SQL006 (1/31/2016)
This is just the scenario i created, In production there is no temporary table #Test only physical table which consists of 2 million data....
February 1, 2016 at 1:06 pm
hitesh jain (2/1/2016)
February 1, 2016 at 12:57 pm
The original post appears to be back, but the reply I had already posted is still missing. And so are the two replies posted later (that I did get email...
January 31, 2016 at 3:47 pm
First, my apologies for not coming back to you sooner. I can make all kinds of excuses, but you were waiting for me and I should not have kept you...
January 31, 2016 at 2:46 pm
Hmmm, that's strange. I got email notifications about new posts to a topic that I previously contributed to, but when I click the link I get an error message. And...
January 31, 2016 at 1:56 pm
Thanks for posting CREATE TABLE and INSERT statements and expected output along with the description. That saves a lot of time!
The code below returns the expected results for your test...
January 31, 2016 at 1:47 pm
Jeff Moden (1/31/2016)
Hugo Kornelis (1/31/2016)
Jeff Moden (1/31/2016)
Hugo Kornelis (1/31/2016)
Ed Wagner (1/30/2016)
The articles and discussion on this site are top-notch.
I am once more going to be contrary. But let me start...
January 31, 2016 at 1:34 pm
Jeff Moden (1/31/2016)
Hugo Kornelis (1/31/2016)
Ed Wagner (1/30/2016)
The articles and discussion on this site are top-notch.
I am once more going to be contrary. But let me start with the positive: a...
January 31, 2016 at 9:18 am
Ed Wagner (1/30/2016)
The articles and discussion on this site are top-notch.
I am once more going to be contrary. But let me start with the positive: a lot of the articles...
January 31, 2016 at 3:43 am
When the SQL Server service (re)starts, it will always drop and recreate the tempdb database. Based on the error messages, you did something that made this impossible.
The error messages indicate...
January 31, 2016 at 3:30 am
GilaMonster (1/30/2016)
Hugo Kornelis (1/30/2016)
GilaMonster (1/30/2016)
You don't need both of these, they're checking for the same thing.
IF @@ROWCOUNT = 0
RETURN;
IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;
True on...
January 30, 2016 at 9:50 am
SQL!$@w$0ME (1/30/2016)
Updated the script:
USE [Test]
GO
/****** Object: Trigger [dbo].[TR_Aud_Update_Datetime_Update_User] Script Date: 1/30/2016 10:58:39 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER TRIGGER...
January 30, 2016 at 9:10 am
GilaMonster (1/30/2016)
You don't need both of these, they're checking for the same thing.
IF @@ROWCOUNT = 0
RETURN;
IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;
True on SQL Server 2005...
January 30, 2016 at 9:08 am
Ed Wagner (1/30/2016)
Hugo Kornelis (1/30/2016)
Ed Wagner (1/30/2016)
I enjoy helping people, but honestly, what do they they expect from a free help forum?
I think that this, even more than the consumerist...
January 30, 2016 at 9:06 am
I am far from an SSIS expert, but with the little I know I think that you'll have to use an Execute Script task for this. Which means you'll need...
January 30, 2016 at 8:58 am
Viewing 15 posts - 976 through 990 (of 3,348 total)