Forum Replies Created

Viewing 15 posts - 8,431 through 8,445 (of 13,469 total)

  • RE: Incorrect Syntax near '7'

    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.

  • RE: question on executing a script for all user database

    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(''?'')'

  • RE: SQL Profiler v/s Query window

    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...

  • RE: get ip from username

    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.

    ...

  • RE: HEAP Pages not released after table delete (HELP!)

    wow, so even if you were to drop the table itself in the original database, the space will not be recovered? is that right?

  • RE: Disabling Adhoc Distributed Quries

    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...

  • RE: Management studio disappears

    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...

  • RE: Object dependencies across databases?

    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...

  • RE: set password for particular db

    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...

  • RE: which datatype is suitable to store more than 8000 char in sql server 2008

    Rajendra.soni (11/15/2010)


    Hi,

    in SSMS, Tools --> Options --> Query Results --> Results to Grid --> Max characters Retrieved --> Non XML Data ,

    it...

  • RE: Where is place to store description of Columns?

    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 *...

  • RE: set password for particular db

    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...

  • RE: I'm trying to create Full-text catalog

    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...

  • RE: set password for particular db

    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...

  • RE: white space in path

    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...

Viewing 15 posts - 8,431 through 8,445 (of 13,469 total)