Viewing 15 posts - 421 through 435 (of 602 total)
Try setting your application up to use an IP address for the SQL server instead of a network name. You might be having name resolution problems.
February 2, 2006 at 12:54 pm
heh. I was just trying to show what BETWEEN does. Chris is right. In general, it is best to avoid performing computations (including convert and cast) on tables. It is...
February 2, 2006 at 7:12 am
@W BETWEEN @X and @Y is shorthand for:
@W >= @X AND @W <= @Y
as shown in the sample execution plan below.
hth jg
StmtText
-----------------------
set showplan_text on
(1 row(s) affected)
StmtText
-----------------------------------------------------------------------
select...
February 1, 2006 at 3:33 pm
I think you will need to look at the data in the tables.
A couple initial thoughts:
You may have a duplicate key in the source table as a result of corruption or...
January 26, 2006 at 12:19 pm
Google for: SQL insert script generator
You will find numerous tools that will generate the insert statements for you.
Unless you like keying them out by hand....
hth jg
January 25, 2006 at 7:26 am
Actually, if you stop SQL services properly, copy off the MDFs and LDFs for all the databases, then install SQL exactly as it was before, then copy back all of...
January 24, 2006 at 2:32 pm
The plan you have should work fine. Make sure you rebuild to the same patch level you have currently. There are a few post-SP3 hotfixes that may be applied, unless...
January 24, 2006 at 12:48 pm
Where MyBit = 1, Where MyBit = 0 are good for testing bits. Using MyBit <> 0 instead of MyBit = 1 can change how the optimzer estimates the rowcount, which...
January 18, 2006 at 6:41 am
Another approach, which will have the least impact on the source database, would be to restore a backup to another server. Since the backup is happening already, this should not...
January 13, 2006 at 7:07 am
"WHERE rm.rmsacctnum = '4313030999894992'"
What's the expiration date on your VISA card?
(heh)
jg
January 12, 2006 at 9:36 am
Fernando,
I have run across this problem as well. Indeed the Query Analyzer limits the column width by default to 256 chars. This can be changed in the options as indicated...
January 12, 2006 at 9:09 am
Henk,
Peter K also posted essentially the same thing, which I failed to notice before.
Emeril is the host of a cooking show in the US. He says "BAM!" may times during a...
January 11, 2006 at 7:25 am
Try this:
SELECT Day1 FROM
(SELECT DATEADD(dd, -DATEPART(dw, t1.X)-5, t1.X) as Day1
From (Select '20050102' as X) as t1) as Y
BAM!
(Sorry, but I just got done watching Emeril)
jg
January 10, 2006 at 9:37 am
Viewing 15 posts - 421 through 435 (of 602 total)