Forum Replies Created

Viewing 11 posts - 76 through 86 (of 86 total)

  • RE: Error running xp_cmdshell

    J,

    Try running the following through QA under the same account:

    exec master..xp_cmdshell 'SET'

    and this should return the list of environment variables available to xp_cmdshell when it executes under that account.

    Vik

  • RE: Exporting to a text file using xp_cmdshell

    No, I completely blanked on bcp. And, on initial consideration, it would work better for me.

    Thanks for the help, I'll give it a go.

    Vik

  • RE: How deep can you nest cursors?

    Can you post the code for the sproc? I've only ever seen cursors nested 2 deep as well, but I don't see any reason why you couldn't go deeper...

    The...

  • RE: Any Opinions On Computed Columns & Performance

    Quentin

    Try using the isnull operator, like so:

    colvalue = isnull(col1, 0) + isnull(col2, 0) + isnull(col3, 0) + isnull(col4, 0)

    this will return the col? values as 0 if they start out...

  • RE: Any Opinions On Computed Columns & Performance

    First off, thanks to everyone above for their advice & input.

    quentinjs,

    If, in effect, a computed column is treated like a regular column for purposes of indexing, why would it matter...

  • RE: Identifying IDENTITY column

    Try this:

    select syscolumns.name from syscolumns inner join sysobjects on syscolumns.id = sysobjects.id where sysobjects.name = 'tablename_here' and syscolumns.status & 0x80 <> 0

  • RE: Delete statement taking a LONG TIME

    We just solved a similar problem here -- a sproc was taking > 1 minute to delete less than a couple dozen rows from a table with about 24k rows...

  • RE: Transaction logs increased up to 16 GB

    I think Steve's hit it right on the money, good explanation.

    Got the following script from the MS support site & have used it to good effect. Follow the instructions...

  • RE: SQL Server does not exist or access denied?

    Hello tkc,

    This may not be entirely relevant to your

    exact situation, and I'm not too up on IIS, but here goes...

    I had this same error come up a couple of...

  • RE: Push Those Logs Away!

    >>>

    All good points. I'm a big T-SQL fan and therefore wrote something similar to ship logs to multiple other servers all in T-SQL. In addition you have the option of...

  • RE: lock_timeout not working as advertised?

    Thanks for the reply. I'll scan through the database script & associated source code but I'm pretty sure no one has monkeyed with this setting. There are 3...

Viewing 11 posts - 76 through 86 (of 86 total)