Forum Replies Created

Viewing 15 posts - 5,851 through 5,865 (of 6,104 total)

  • RE: xp_userlock

    I tried to execute the extended stored procedure in Query Analyzer and it gave the error saying xp_userlock requires parameter @subcommand and so on. Once I had put in...

    K. Brian Kelley
    @kbriankelley

  • RE: Connecting to a remote server

    Hrm. That eliminates all the "slap yourself on the forehead" type of issues. You're able to connect to the other SQL Server properly right now?

    K. Brian Kelley

    bkelley@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/bkelley/

    K. Brian Kelley
    @kbriankelley

  • RE: Connecting to a remote server

    It sounds like you are connecting with a SQL Server login? Did you check if the SQL Server setup is for NT authentication only or both NT and SQL...

    K. Brian Kelley
    @kbriankelley

  • RE: Connecting to a remote server

    Starting with the basics and making sure the network guys didn't do something, are you able to ping the server from where you are trying to add it? If...

    K. Brian Kelley
    @kbriankelley

  • RE: Restore of SQL 2K

    What we did in a DR environment was take our server backup and restored everything but the data files (we operate in a 24/7 environment which means there isn't a...

    K. Brian Kelley
    @kbriankelley

  • RE: Problem SQL statement

    The problem with the leading % is that SQL Server is unable to use an index since the first part of the string could be anything. As a result,...

    K. Brian Kelley
    @kbriankelley

  • RE: xp_userlock

    All I've been able to determine thus far is that it has three mandatory parameters:

    @subcommand

    @resource

    @dbid

    K. Brian Kelley

    bkelley@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/bkelley/

    K. Brian Kelley
    @kbriankelley

  • RE: Permision Problems

    It does sound like a permissions problem.

    He can execute the following statement in Query Analyzer to verify the account he's using is indeed a sysadmin:

    EXEC sp_helpsrvrolemember 'sysadmin'

    Permissions...

    K. Brian Kelley
    @kbriankelley

  • RE: DBCC FREE PROCCACHE

    You also have the option of executing using the WITH COMPILE if you're executing the stored procedure manually. Here's the excerpt from Books Online:

    K. Brian Kelley
    @kbriankelley

  • RE: How do I keep the @@identity the same - Restore

    Right, but the original insert caused the second insert to fire because of the trigger. So SQL Server is going to return the identity from the trigger insert. ...

    K. Brian Kelley
    @kbriankelley

  • RE: How do I keep the @@identity the same - Restore

    @@Identity doesn't work this way. @@Identity is tied to a particular statement. It's not tied to a database.

    For instance, if I do a

    INSERT MyTable

    (Column1, Column2)

    VALUES

    ('For Column1', 'For...

    K. Brian Kelley
    @kbriankelley

  • RE: Table Size issue

    The sp_spaceused system stored procedure should work. If you want hit all the user tables, you can use the sp_MSForEachTable stored procedure like so:

    EXEC sp_msForEachTable @Command1 =...

    K. Brian Kelley
    @kbriankelley

  • RE: DBCC FREE PROCCACHE

    DBCC FREEPROCCACHE clears out the procedure cache, that is correct. If you do a before and after on the syscacheobjects table in the master database you'll see the effect.

    DBCC...

    K. Brian Kelley
    @kbriankelley

  • RE: FTP To a Remote Server with SQL 7.0

    It may. I know if you issue literal, you can enter a site command, for instance site stats. Beyond that, I can't really speak of.

    K. Brian Kelley

    bkelley@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/bkelley/

    K. Brian Kelley
    @kbriankelley

  • RE: FTP To a Remote Server with SQL 7.0

    Windows NT 4.0 and above have an FTP client at the command-line. Simply type ftp and you are at a basic ftp command-line interface just as with a Unix...

    K. Brian Kelley
    @kbriankelley

Viewing 15 posts - 5,851 through 5,865 (of 6,104 total)