Viewing 15 posts - 6,316 through 6,330 (of 7,168 total)
OK, had to add another layer in the form of a iTVF and then use CROSS APPLY. See if this setup works for you:
IF EXISTS ( SELECT *
...
May 26, 2011 at 10:21 am
What is the expected result from this new set of test data please?
May 26, 2011 at 9:04 am
Are you getting an error by chance or just wrong results? If you post some sample data that demonstrates why it is not working I'll try to take another look...
May 26, 2011 at 7:33 am
zach_john (5/26/2011)
Ninja's_RGR'us (5/25/2011)
May 26, 2011 at 1:55 am
Judy Scheinuk (5/25/2011)
I don't really know how to use the try/catch loop
try/catch is not a form of a loop...it's an exception handling structure. I prefer it over using traps because...
May 26, 2011 at 12:33 am
Hmm...running out of ideas...
Are the 3-byte "table prefix char(15)" always used in a sequential order? i.e. Could you possibly load a batch with a prefix of "xyz" before a batch...
May 25, 2011 at 11:01 pm
Ninja's_RGR'us (5/25/2011)
opc.three (5/25/2011)
Ninja's_RGR'us (5/25/2011)
The only...
May 25, 2011 at 3:52 pm
Ninja's_RGR'us (5/25/2011)
The only real "identity"...
May 25, 2011 at 3:23 pm
OK...so much for that...
What about Ninja's thought...are the rows being updated in the table after they are initially inserted?
May 25, 2011 at 3:04 pm
Lowell (5/25/2011)
opc.three (5/25/2011)
May 25, 2011 at 2:26 pm
Ninja's_RGR'us (5/25/2011)
opc.three (5/25/2011)
May 25, 2011 at 1:59 pm
<mini_rant>The use of GUID for this entity is a misnomer in the context of Microsoft SQL Server so I am calling them IDs from now on because the terminology is...
May 25, 2011 at 1:52 pm
Just eyeballing your code so forgive me if this is a rabbit hole but I think if client_net_address is NULL then you end up with something that will anger most...
May 25, 2011 at 1:28 pm
The idea of having an app generate a sequential GUID outside the database and provide it to SQL Server as the clustering key for a table is great on paper...but...
May 25, 2011 at 11:16 am
Agreed, and it will be exacerbated due to the 100% fill factor.
May 25, 2011 at 11:03 am
Viewing 15 posts - 6,316 through 6,330 (of 7,168 total)