Viewing 15 posts - 8,431 through 8,445 (of 13,469 total)
dates have to be encased is single quotes, as they are not a number.
instead of this:
<= 01/31/2011
--change to this for example
<= '01/31/2011'
change it everywhere you had date strings.
November 16, 2010 at 10:10 am
this command seems to be working for me to return results on a per-db basis...is that what you wanted?
sp_msforeachdb
'select ''?'' as dbname,*
from sys.dm_db_index_usage_stats
where database_id = db_id(''?'')'
November 16, 2010 at 10:02 am
help us help you...when i read your question, i think the question is "when i profile my procedure, it never finishes. when i just run it, it is fast"
is that...
November 16, 2010 at 7:48 am
in 2005 and above, there is a DMV that has the IP address, but note it's possible the value ls '<localhost>' or null if they connected via shared pipes.
...
November 16, 2010 at 6:42 am
wow, so even if you were to drop the table itself in the original database, the space will not be recovered? is that right?
November 15, 2010 at 2:36 pm
no, removing ad hoc will not affect your replication.
in 2008, it's a right click with the SSMS object explorer on the server and go to "facets": disable these two items...
November 15, 2010 at 9:50 am
could you be trying to connect with a lower version of SSMS, for example the Express Version that comes with Advanced Services?
That limited, express version does not let you connect...
November 15, 2010 at 9:00 am
not without something keeping track of those references;
object dependancies are limited to exist inside a database...that way if you backup and restore, everything your object referenced are together.
because multiple databases...
November 15, 2010 at 7:13 am
SQL server is already like that...once the sysadmin restores or creates a database, NOONE has access to it, except the sysadmins.
as long as no one except the dba has sysadmin...
November 15, 2010 at 4:49 am
Rajendra.soni (11/15/2010)
in SSMS, Tools --> Options --> Query Results --> Results to Grid --> Max characters Retrieved --> Non XML Data ,
it...
November 15, 2010 at 4:41 am
there is a view you can select from, and a function that you can use as well:
select * FROM fn_listextendedproperty (NULL, NULL, NULL, NULL, NULL, NULL, NULL);
select *...
November 15, 2010 at 4:34 am
like i mentioned before, the only solution is to take away the sa login from everyone, and make them login with something else.
in a place where everyone has been using...
November 15, 2010 at 4:27 am
it sounds like the password that is stored for running the full text service is out of date/changed;
Control Panel>>Administrative Tools>>Services>> find the full text service (my 2008 was named "SQL...
November 14, 2010 at 9:32 am
jangidsatish148 (11/14/2010)
how to set password for particular db in sa login
you'll want to revamp how you are currently doing access;
first, to be clear, a login has one password only. you...
November 14, 2010 at 9:18 am
what you'll need to do is make sure any paths for file names exist in double quotes...that is what the OS requires for file names with spaces; my dbl quotes...
November 14, 2010 at 5:28 am
Viewing 15 posts - 8,431 through 8,445 (of 13,469 total)