Viewing 9 posts - 1 through 9 (of 9 total)
Hi,
Pleasea find the sample data below:
0763111334 2010-10-27 14:31:18.860Filename 2
0763789334 2010-10-27...
October 27, 2010 at 8:52 am
Hi,
Thank you very much.
Your advices were helpful in resolving the primary/ foreign key problem
To answer some of the questions,
The TempCustomer table gets truncated every day, and new data...
October 27, 2010 at 7:36 am
Hi,
I hope it makes sense now: i need an sp that does the following:
Condition 1: If an entry is duplicated in TempCustomer, insert into ContactAudit table.
Condition 2: If...
October 27, 2010 at 2:48 am
Thank you very much. The script works as expected.
October 18, 2010 at 6:09 am
Hi,
Sorry about that.
Here is my sample script:
ALTER PROC spAVM_TempCustomer_I
AS
BEGIN
DECLARE @allcount INT,
@CellphoneNo VARCHAR(15),
@Filename VARCHAR(50),
@Count INT,
@ContactID INT
CREATE TABLE #TempCustomer (CellphoneNo varchar(15))
INSERT #TempCustomer
SELECT CellphoneNo FROM TempCustomer
SELECT @allcount = COUNT(*) FROM #TempCustomer
WHILE @allcount >...
October 18, 2010 at 4:32 am
Hi,
I need to:
1) Add a new identity field on table TableA. TableA has a composite Primary key
2) Change the clustered primary key to non-clustered
3) Create clustered index on the...
July 22, 2010 at 7:22 am
Thank you very much. The last script works perfect.
July 21, 2010 at 2:42 am
This doesn't work still. I replaced A an B with my columns, ContactID and Title. When i run the select it returns Contact table which has ContactID and Title columns.
use...
July 20, 2010 at 7:12 am
Thank you very much. The advices worked.
May 13, 2010 at 11:43 pm
Viewing 9 posts - 1 through 9 (of 9 total)