Viewing 15 posts - 30,391 through 30,405 (of 39,757 total)
Or let us know what ytou are trying to achieve. Are you looking to admin? develop software? What areas are you thinking you need to learn.
December 9, 2007 at 12:35 pm
If it's true/false, then don't allow NULLs. confuses things.
I'd still recommend going with tinyint, gives you more options down the road. I've often seen someone define something a boolean, only...
December 9, 2007 at 11:26 am
I was thinking that the only way to do this was to query for known user and then strip out the domain name.
There are some AD stored procedures, but they...
December 9, 2007 at 11:24 am
Thanks for the update and glad it appears to be working.
And kudos again for using SQL Server at UCF!
December 7, 2007 at 11:18 am
You don't need the ELSE clause. If the parameter is not null, it's value will be already assigned.
December 7, 2007 at 11:17 am
Do you care which 4000?
You could insert 4000 PKs from the patient table into some new table, then set up a replication that filters based on those PKs. Or copy...
December 7, 2007 at 11:16 am
You might run PRofiler and filter based on the db, table, or some other object that you think is involved. Or just run it and then stop it when you...
December 7, 2007 at 11:15 am
December 7, 2007 at 11:13 am
I think this is a distributed transaction problem. Is there any reason you have it wrapped in a transaction there? Any error should throw a rollback anyway.
Does it complete? Could...
December 7, 2007 at 11:12 am
Almost went to Earl for an old car, but couldn't bring myself to do it.
We're POTS here (With DSL riding along). Still find uses for the line, especially as so...
December 7, 2007 at 11:07 am
clustered keys and primary keys have nothing to do with each other. the PK can be clustered or non-clustered and if someone thinks it's always clustered, either he doesn't understand...
December 7, 2007 at 10:14 am
I think you mean W2K3 Enterprise and SQL2K5 standard
December 7, 2007 at 10:13 am
You'd need self joins to join each table based on the date.
so
select a.model
, b.modeldate '3 weeks'
, c.modeldate ' 2 weeks'
...
from modelhistory a
...
December 7, 2007 at 10:10 am
backup the database, restore it, then for each table you need to decide what "first" is. There's no order by default in SQL Server.
ms_foreachtable is a stored procedure that...
December 7, 2007 at 10:04 am
Please give us a clue here.
Worst case, set up a Windows Scheduled Task if you can't get SQLAgent to work.
Run isql -E -Q"backup database xxx to disk='c:\mybackup.bak' with init"
Feel...
December 7, 2007 at 9:16 am
Viewing 15 posts - 30,391 through 30,405 (of 39,757 total)