Forum Replies Created

Viewing 15 posts - 391 through 405 (of 486 total)

  • RE: Strange behaviour

    Who said anything about optimizing? I described intermittent behaviour...

  • RE: "primary key" in Table Variable

    Not sure if any of what follows explains what you're seeing:

    Have you looked at the execution plans on each of the boxes? Since prod is timing out, can you try...

  • RE: Windows 2003 SP2 & SS2000

    I installed SQL2K on Win2K3 Server SP1 last week, which also had SQL2K5 on it.

    Prior to install, I got the message that SQL2K SP2 AND below were not supported, please...

  • RE: Question 1

    The other thing is, the function which runs against every row in a query amounts to row by row processing, something that could only be accomplished with a while loop...

  • RE: One Major Dbase V Many Small Dbs

    I'll add one more vote to the DB per application.

    We've centralized most of our lookups, and automated everything else, from creation to backups to transfers to security.

    One other benefit...

  • RE: Refresh Table

    Step 1: Get result set from server

    Step 2: Run stored proc.

    Until your browser asks for the new results, nothing has changed on your client. The row was deleted on the...

  • RE: Dynamic SQL

    Not sure about SQL2005, but in 2000, you cannot Insert...Exec into a table variable.

  • RE: Object id changes when columns are re ordered

    Also, if/when you upgrade to a new server, all the old ids will not mean anything. You should probably use the object name instead.

  • RE: substring

    No kidding!! I can see 1, 3, 4, and 5....

    What is '13D5'? Why does it evaluate to 1300000?

  • RE: Temporary Tables

    Indices are allowed on #temp tables, and depending on the number of rows in the table, can dramatically affect performance.

    Don't have a #temp table in one proc and call a...

  • RE: substring

    Sorry about that, this treats less-than / greater-than symbols as HTML. I'll try that again:

    SELECT CASE WHEN ISNUMERIC(Colname) = 1 THEN Colname

    ...

  • RE: substring

    SELECT CASE WHEN ISNUMERIC() = 1 THEN

    ELSE LEFT(, PATINDEX('%^[0-9]%', )-1)

    END

    FROM...

  • RE: Running a Query Using a Text File for Input

    Since we're allowed to use QA and presumably access other DBs on the server, why not BCP in into a DB the list of customers, then use osql to run...

  • RE: Wise Job Scheduling

    Yes, since I presume you don't want table locks because there is no "down time" to do the index maintenance.

    In that case, you don't want slowdowns for both the...

  • RE: Wise Job Scheduling

    Questions / comments

    1) How big is your DB? We are running 40DBs or so on an RAID 5 server, total about 15GB (not big). The server has *never* been defragmented....

Viewing 15 posts - 391 through 405 (of 486 total)