Viewing 15 posts - 6,646 through 6,660 (of 7,187 total)
Stephane
I still don't understand. The sample data you gave shows ipFrom and ipTo having 8 digits, and ipFloat having 9. So how can ipFloat ever be between ipFrom and ipTo? ...
January 10, 2007 at 9:29 am
Nita
Run this on a test server before you let it anywhere near production. It assumes you already have a login called MyUser and that you want the related user name...
January 10, 2007 at 9:18 am
Stephane
Your syntax doesn't look quite right. I don't see how your update statement can work. How about this (not tested, obviously):
update r
set countryId = c.countryId
from #regions r join...
January 10, 2007 at 9:00 am
Nita
Make the user a member of the db_datareader and db_denydatawriter fixed server roles in the database. If you are asking how to do this for all databases, you can generate...
January 10, 2007 at 8:28 am
When a new row is inserted, it will be put on a page according to its place in the clustered index. If there is no room on the required page,...
December 29, 2006 at 8:45 am
Mike, Robert
Thanks for doing the BOL/KB searching for me. I suppose the real point of my post was to have a little moan that, in this QoD (and quite a...
December 29, 2006 at 1:08 am
Yes. Whether it's a DELETE FROM, DROP or TRUNCATE, it's not going to work if the table is referenced by a foreign key constraint.
Come to think of it, writing a...
December 29, 2006 at 12:57 am
I'm working on reinventing the wheel on this one... but using sysreferences instead of sysdepends. Will post the script when I get it finished.
By the way, jmcgarvey's script will also...
December 28, 2006 at 9:13 am
The explanation doesn't explain the answer: it merely restates it. Would the setter of the question care to go into a little more depth, please?
John
December 28, 2006 at 8:08 am
Raj
I think you said earlier that you'd tried with an index on that column and there was no improvement. Please will you post an execution plan for when you have...
December 22, 2006 at 1:48 am
Manish
AWE is only needed for memory above 4GB. I'm not sure what's causing SQL Server to get stuck at 2GB. Do you have any other applications running on the server? ...
December 22, 2006 at 1:30 am
Ryan
Assuming the taskid column doesn't allow nulls, something like this:
SELECT e.empid,
e.name,
COUNT(t.taskID) as tcount,
COUNT(t.taskID) - COUNT(t.resolution) as NullRes
FROM tasks t
RIGHT JOIN employee...
December 21, 2006 at 9:01 am
Ah - it's an AS400 database? I don't know anything about AS400, I'm afraid. However, if it's ANSI compliant, you should be able to run SELECT TABLE_SCHEMA, TABLE_NAME...
December 21, 2006 at 8:34 am
Manish
Are you using the Standard or Enterprise Edition of SQL Server 2000?
John
December 21, 2006 at 8:06 am
Nelson
The only thing I can think of is that you may have two tables called BZRCRP, one owned by dbo (with 5 records) and one owned by EBSTSTNEW (with 1...
December 21, 2006 at 8:01 am
Viewing 15 posts - 6,646 through 6,660 (of 7,187 total)