Viewing 15 posts - 11,296 through 11,310 (of 13,460 total)
gaps in an identity are normal. they happen when an error occurs and a transaction gets rolled back; although a transaction would not get committed, the incrementing of an identity...
Lowell
April 5, 2009 at 5:36 pm
i think the statement you pasted is missing which column in t1 is null; was that a copy/paste error?
it looks a little like pseudo code;
this is how I would do...
Lowell
April 5, 2009 at 5:32 pm
duplicate post.(actually triplicate!)
no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.
the "Recent Posts" link shows us everything.
continue the thread...
Lowell
April 5, 2009 at 5:26 pm
duplicate post.(actually triplicate!)
no need to cross post to multiple forums it fractures the answers you get and makes posters duplicate others work.
the "Recent Posts" link shows us everything.
continue the thread...
Lowell
April 5, 2009 at 5:25 pm
there you go!
it's always the unexpected values in the data that trip me up too.
way to go!
Lowell
April 5, 2009 at 1:20 pm
you can use this to find the duplicating records, based on your SQL;
SELECT adv.A_AdvertiserID
,'Mobile'
,ab.[Telephone2]
FROM [MSCRM].[dbo].[AccountBase] ab
JOIN [DIGADV].[dbo].[Advertiser] adv
ON ab.[Name] COLLATE DATABASE_DEFAULT = adv.A_AdvertiserName COLLATE DATABASE_DEFAULT
GROUP BY adv.A_AdvertiserID,ab.[Telephone2]
HAVING COUNT(*) > 1
Lowell
April 5, 2009 at 10:54 am
sorry about the naming thing...i wrote my comments, then added the code, change the name along the way in there....
glad it's working for you.
did you change it to be a...
Lowell
April 4, 2009 at 7:25 pm
you'll need to make your code a function.
once it is a function, say udfRandomString()
you can create a table and set it's default value to the function.
you might run into problems...
Lowell
April 4, 2009 at 5:32 pm
I'm admittedly slow at times, but i just changed the time on my server to 12 hours earlier than the real time..., and compared getdate() to OS time; they are...
Lowell
April 4, 2009 at 10:00 am
saravanantvr1984 (4/4/2009)
But, I don't know OS command like how to change the Date time of server machine...do u have a IDEA?
Please send that
start>>Run cmd ...
Lowell
April 4, 2009 at 7:16 am
it's the way the IN function works:
the IN() function requires an array() of values, NOT a single variable that happens to have commas in it. that's what you have...a single...
Lowell
April 3, 2009 at 7:19 am
SLQ server automatically handles queueing via a system of LOCKING at the row,then page,then table levels;
a great example is multiple people updating a single table.
there is no need to block...
Lowell
April 3, 2009 at 6:45 am
mithun.gite (4/3/2009)
Lowell
April 3, 2009 at 6:40 am
you sure THAT function is working?
it's definition is:
Returns @Tbl_IDs Table (ID Int)
but you are passing varchar GUIDS...so i doubt it returns anything valid.
set @Ids='''fe44fcb1-49c5-4a03-93de-6fadfbb5dbd0'',''FD857BFA-13F9-4051-91B8-6677D2A31C52'''
won't be right, something like this...
Lowell
April 3, 2009 at 6:33 am
in one way or another, a comma delimited parameter needs to use one of the many SPLIT() functions from the Scripts section on SSC, or use dynamic SQL; there's no...
Lowell
April 3, 2009 at 6:19 am
Viewing 15 posts - 11,296 through 11,310 (of 13,460 total)