Viewing 15 posts - 16 through 30 (of 40 total)
yes thats correct but i want to do multiple ones at the same time, i.e. hong kong, singapore, monaco. these are all stored in the joining table but still not...
December 5, 2011 at 5:26 am
but even with the joining table de-duped it still produces the same count. Does it matter if the original table i am trying to update to NULL has dupes? i.e....
December 5, 2011 at 5:04 am
ok i will select distinct from that table and create a new table and then use that one.
Thanks for all your help
December 5, 2011 at 4:40 am
oh ok, so if if de-dupe my connecting table then it should update fine?
December 5, 2011 at 4:35 am
so are you saying my update statement will never update what i want to (i.e. the select statement)
December 5, 2011 at 4:22 am
ok i have dupes in the staging table but surely this should not matter, when it sees Singapore in the staging table and in the update table then it should...
December 5, 2011 at 4:16 am
thanks for this, but both of the statement run fine but i am gaining different results when i am expecting the same number of records
December 5, 2011 at 3:52 am
ok, i do know a lil SSIS but what flow items do i use?
November 16, 2011 at 4:37 am
at the moment, through import data tool i can only import a file one by one but i would like to do all at once so i dont to do...
November 16, 2011 at 4:20 am
well thanks for all of your replies but i have just started using sql so am a little rusty on the syntax ect.
November 14, 2011 at 6:34 am
yes pretty much meaningless, what does that statement actually do though?
'id' does mean something but i have 2 tables with results in that i want to amalgamate but they both...
November 2, 2011 at 6:25 am
please see my posts above, i do not want duplicates but need to set the id sequential starting from 1000000
November 2, 2011 at 6:10 am
i used this code to do this:
DECLARE @SourceID INT;
DECLARE @Counter INT;
SET @Counter = 1;
DECLARE ins_accounts CURSOR
FOR
SELECT id FROM attributes
OPEN ins_accounts
FETCH NEXT FROM ins_accounts
INTO @SourceId
WHILE @@FETCH_STATUS = 0
BEGIN
...
November 2, 2011 at 6:08 am
yes this is correct; so how do i make the id sequential starting from 1000000? so i do not have any duplicates
November 2, 2011 at 6:03 am
Viewing 15 posts - 16 through 30 (of 40 total)