Viewing 15 posts - 751 through 765 (of 921 total)
The NOTs are tying you up. Try using OR instead of AND. You need the row if either (or both) predicate is true, but not if they're both...
October 8, 2003 at 10:32 am
SELECT MIN(Id), Name
FROM TheTable
GROUP BY Name
--Jonathan
Edited by - jonathan on 10/08/2003 10:03:09 AM
October 8, 2003 at 10:03 am
You cannot do this with just a simple LIKE, as that does a character by character comparison. If the codes never contain data after the numbers, perhaps something like...
October 8, 2003 at 8:57 am
quote:
will sql server 7 run on windows xp? is it compatible? if not, what OS would sql server 7 be compatible?
October 8, 2003 at 8:28 am
quote:
So when a user opens the application in the morning and closes it at the end of workday, he/she uses the same...
October 8, 2003 at 8:03 am
quote:
We currently have a SQL 2000 database server running various databases with a capacity of 30gb. It is anticipated that we need...
October 8, 2003 at 7:37 am
No, as long as you've got the complete sequence of tran log backups covering the filegroup backups, you do not need to start with a full database backup.
E.g., if you...
October 8, 2003 at 7:22 am
quote:
The MSDE instances will not have connection to the home office so to distribute data I'll need to mail a cd or...
October 8, 2003 at 7:13 am
quote:
Time wise...I'm referring to both. This system is 24x7 and downtime needs to be held to a absolute minimum. As...
October 7, 2003 at 10:42 am
quote:
Thanks, guarddata and Johnathan. I ran both of your scripts against my table, and they both returned 7903 for the row size....
October 7, 2003 at 10:08 am
quote:
Thanks Jonathan - I sometimes forget about the Information_Schema information...but don't forget to GROUP BY Table_Name
Guarddata-
October 7, 2003 at 9:28 am
SELECT Table_Name, SUM(COL_LENGTH(Table_Name, Column_Name))
FROM Information_Schema.Columns
WHERE Table_Name = @TableName
--Jonathan
October 7, 2003 at 8:41 am
quote:
Is there no other way?? I've got 170 tables and 108 indexes to move. Creating a dummy index and then...
October 6, 2003 at 3:26 pm
quote:
What if there is no clustered index on the table?? Is there any other way to accomplish this?
October 6, 2003 at 2:07 pm
quote:
Thanks!! Is there a way to create the table without the data?
October 6, 2003 at 12:30 pm
Viewing 15 posts - 751 through 765 (of 921 total)