Viewing 15 posts - 45,706 through 45,720 (of 49,571 total)
Create a permanent numbers table with a couple thousand rows. It's handy for a number of problems, not just this one.
Somethng like this
CREATE TABLE Numbers (
Number INT PRIMARY KEY
)
GO
INSERT INTO...
July 15, 2008 at 5:53 am
rinu philip (7/15/2008)
My questions are1) where is this backup stored? (I mean BACKUP LOG)
It's not.
2) what is truncate_only? (does it only truncate the log files?)
Discard the inactive portion of...
July 15, 2008 at 5:43 am
Easy way to check - once you've done the restart, check the first few lines of the error log and see if you have the entry "Using locked pages for...
July 15, 2008 at 5:36 am
kiruba (7/15/2008)
Thanks SSCarpal Tunnel
<grin> That's the forum ranking, not username.
July 15, 2008 at 5:20 am
SQL ignores trailing spaces when comparing strings. It's probably because of the char data type, which is space padded to max size
July 15, 2008 at 5:04 am
The proc doesn't assign rights to the DB. It just makes it the login's default database. You'll have to grant any rights you want the login to have.
After running that,...
July 15, 2008 at 5:02 am
David Griffiths (7/15/2008)
July 15, 2008 at 4:57 am
EXEC sp_defaultdb <Login Name>, <Database Name>
Run it after both the login and the database exist
July 15, 2008 at 4:40 am
When a database is set to autoclose, it is shut down when the last user disconnects. That's what's causing the cache flush. SQL's removing anything related to that DB from...
July 15, 2008 at 4:36 am
Stu (7/15/2008)
July 15, 2008 at 4:30 am
onlo (7/15/2008)
What is "CU4" ?
Cumulative update 4. Big collection of hotfixes since SP2. Currently the latest is cumulative update 8 (CU8)
July 15, 2008 at 4:27 am
Not possible in SQL 2000. SQL requires exclusive access to its data files
In SQL 2005, if all the databases are readonly (all of them) it's possible to do, though it's...
July 15, 2008 at 1:44 am
Could it be permissions?
When you run it at the command prompt, you're running under your security credential. When you run it through xp_cmdshell, you're running it under the SQL Server...
July 15, 2008 at 1:39 am
Shouldn't do.
What user and application are you seeing those statements from? What SPID?
July 15, 2008 at 1:35 am
NText works just fine in SQL 2005 (although it is deprecated).
The blob datatypes (text, ntext, image) cannot be directly compared (including by a distinct) in any version of SQL that...
July 15, 2008 at 1:33 am
Viewing 15 posts - 45,706 through 45,720 (of 49,571 total)