Viewing 15 posts - 13,096 through 13,110 (of 13,874 total)
No probs & good luck.
July 11, 2006 at 8:16 am
Try this:
INSERT INTO gooddate
([orderdate])
select
CONVERT(VARCHAR(50), CAST(nullif(orderdate, '00-XXX-00') AS DATETIME), 101)[orderdate]
from baddate
July 11, 2006 at 8:08 am
It should fix the problem, provided you are prepared to live with the fact that your SELECT might read data from uncommitted transactions that may be rolled back.
May 24, 2006 at 2:56 am
I also suggest an additional condition to avoid updating any customer names that are already correct, on the basis that reads are way faster than writes:
update nr1
set CustomerName = c.CustomerName
from...
May 23, 2006 at 6:44 am
If you want all of this data in a single Excel worksheet in a format that makes any kind of sense, you have to decide on a maximum number of...
May 23, 2006 at 5:01 am
Assuming street1 and street2 are tables, this method does a cross join and then orders by the sum of the absolute differences in x and y coordinates, selecting the lowest....
May 18, 2006 at 5:50 am
Dennis
.mdf and .ldf files are not backup files, they are native SQL Server database and log files respectively. All you need to do is copy the files to your standard...
May 14, 2006 at 3:10 pm
OK - so what is the relationship between T1 and T2? Do you just want them displayed side-by-side in ascending order?
May 12, 2006 at 4:44 am
Please describe how to get from your sample data to your required results. Where did the 100 and 200 come from?
May 12, 2006 at 4:14 am
I don't think so. You'll have to change your logic to move your DBCC statement out of the transaction somehow.
May 9, 2006 at 9:39 am
Not sure. Could you do something like
osql /L > sqlservers.txt
to redirect the output to a file called sqlservers.txt and then use that in your app?
May 9, 2006 at 9:25 am
SQL 200 - that must have been a while ago ![]()
Have you tried installing EM on another PC and seeing whether it happens there...
May 9, 2006 at 7:46 am
Creating and deleting tables uses resources, of course, and this is an unusual way of designing an application.
Whether this starts to cause you performance problems depends on volumes, hardware, how...
May 9, 2006 at 7:37 am
Well, I guess you could try this.
First off, replace all of the single quotes with something else - eg ~ or some other character that does not exist elsewhere in...
April 7, 2006 at 8:01 am
Viewing 15 posts - 13,096 through 13,110 (of 13,874 total)