Viewing 15 posts - 16 through 30 (of 55 total)
CREATE TABLE dbo.ClientData
([Name]char(8),
[Product]char(4),
[Participant]char(6),
[Route]char(9))
INSERT INTO dbo.ClientData
VALUES ('Client A', 'NA', 'NA', '999999999')
INSERT INTO dbo.ClientData
VALUES ('Client B', 'NA', '7777777', 'NA')
INSERT INTO dbo.ClientData
VALUES ('Client C', '0000', 'NA', 'NA')
Added the table and...
October 19, 2011 at 8:06 am
Thank you for the reply.
September 19, 2011 at 12:34 pm
Thanks everybody, but maybe I did not explain this very well. The user in this case will not have BIDS nor SQL Server installed on their machine. I...
September 19, 2011 at 12:13 pm
Has the league already closed or can others join?
September 14, 2011 at 6:08 am
Yes, thank you very much for your time. However, I should of looked at my code a little better as I had the two strategy columns listed as not...
June 6, 2011 at 1:49 pm
I have discovered the answer to my own question. In looking back at what I found and asking that question I feel rather stupid. Thank you to all...
March 18, 2011 at 10:29 am
Des Moines, Iowa.
Sunny
Temp 4 degrees with a windchill of -8
January 19, 2011 at 9:10 am
Thank you to everybody.
January 9, 2011 at 11:25 am
Thank you for your assistance.
January 6, 2011 at 8:04 am
You are recommending against the use of all 12 columns as a primary key? Just want to make sure that I understood your reply.
January 6, 2011 at 7:41 am
Thank you very much for both of your insights to this problem. I like the idea of the identity and then the unique index over the 12 columns. ...
January 5, 2011 at 4:26 pm
CREATE TABLE [Database].[dbo].[Table_Stage]
([AccountNumber]char(16),
[Name]varchar(26),
[Address]varchar(26),
[Checksum_Col]AS Checksum([AccountNumber], [Name], [Address]))
CREATE [Database].[dbo].[Table_Base]
([AccountNumber]char(16),
[Name]varchar(26),
[Address]varchar(26))
/*----------------------------------------------------------------------------------------------------------------------------
Delete where not exists.
----------------------------------------------------------------------------------------------------------------------------*/
DELETE
FROM [Database].[dbo].[Table_Base]
WHERE [AccountNumber] NOT IN(SELECT [AccountNumber] FROM [Database].[dbo].[Table_Stage]) --delete based upon business key
/*----------------------------------------------------------------------------------------------------------------------------
Update records that...
April 23, 2010 at 3:37 pm
I have not forgotten about mock-up. Having a busy Friday.
April 23, 2010 at 12:10 pm
Business requirements state that I am not allowed to truncate the base table as it needs to available at all times. I will work on a mockup for you...
April 23, 2010 at 7:48 am
Here is a link for Phil Brammer article on using the checksum component for ssis.
http://www.ssistalk.com/2007/03/09/ssis-using-a-checksum-to-determine-if-a-row-has-changed/
When I implemented the checksum, I did all of it from T-SQL. Allow...
April 23, 2010 at 7:35 am
Viewing 15 posts - 16 through 30 (of 55 total)