Viewing 15 posts - 14,626 through 14,640 (of 15,381 total)
This is one of the most ridiculous things about sql insert errors. Somewhere there was a link to a requested fix but I can't find it just now. How dumb...
May 26, 2011 at 2:43 pm
The OP posted this exact topic in another thread. Here are all the posts from that thread. :crazy:
Sean Lange (5/26/2011)
replace(replace(MyCol, '&', ' '),...
May 26, 2011 at 2:38 pm
Notice all the posts and responses you have gotten to your identical posts? This is why we try to discourage multiple postings.
Direct all further replies for this thread here.
May 26, 2011 at 2:34 pm
Here is the link to Jeff's original article[/url].
And here is an example of how killer his code is with your example (and a few extra spaces).
declare @original varchar(100) = 'Alternative...
May 26, 2011 at 1:45 pm
Are you saying that #SLA2_EvidToDesn has more than 1 row and that after you run this update all rows have the same value for app_date?
May 26, 2011 at 12:36 pm
You just need to use nested replace statements.
replace(replace(MyCol, '&', ' '), '@', ' ')
just add as many nested replace calls as you need.
May 26, 2011 at 12:30 pm
You will probably need to do this insert in batches. That is a huge amount of info to write to the transaction log all at once. Remember that just because...
May 26, 2011 at 11:01 am
These are called computer columns. Here is bol reference.
May 26, 2011 at 8:35 am
amitsingh308 (5/26/2011)
Create table temp (Y bit,Ref_No Varchar(50),Ref_Date datetime,Credit numeric(18,2),Debit numeric(18,2), type )in case of Credit amount
insert into ('0','Cash-Mem-245','2011-05-11','2500.00','0.00','C')
in case of Debit amount
insert into ('0','Mem-245','2011-05-11','0.00',250'0.00','B')
You know the people here are volunteers....
May 26, 2011 at 8:31 am
Are you saying that each of your tables has a composite key of 8 nchar fields? I have never tried doing something like your proposed MD5 idea but it seems...
May 26, 2011 at 8:16 am
I personally hacked into google's server to add this post to their search engine just to irritate you. If you actually read the post you would realize that the answer...
May 26, 2011 at 8:06 am
Excellent. I had not dug down to quite that level of understanding and was assuming it due to the NEWID() inside the case, especially since i was interested to see...
May 24, 2011 at 2:25 pm
If you have a chance can you post your solution here so other may benefit from your work? Glad you got it figured out.
May 24, 2011 at 2:10 pm
I was kind of intrigued by what you say happened so I had to run your code and discovered that you are correct with the way are doing it. I...
May 24, 2011 at 1:32 pm
Since nobody clarified this for you...the temp tables reside on the server where the code is executed. So if Server1 calls a sproc on Server2 and the code in the...
May 24, 2011 at 1:07 pm
Viewing 15 posts - 14,626 through 14,640 (of 15,381 total)