Forum Replies Created

Viewing 15 posts - 21,601 through 21,615 (of 22,195 total)

  • RE: TSQL Assistance - Multiple database,multiple servers

    Since you can't code 'USE @Dbname' you need to do something like this:

    sp_msforeachdb 'USE ?;exec master.dbo.SingleLineSpaceUsed'

    But when you do this, it still runs from within the master db.

    You could modify...

  • RE: Default parameters & Output parameters nightmare

    Tami D (10/23/2007)


    Thank you for the response. Unfortunately, I am using an output parameter and do not have the luxury of just excluding the column in the call to...

  • RE: Huge Table

    Even though I didn't have all the information, despite the number of rows, it's not a very big table. I did some experimentation. They shouldn't be hitting any issues assuming...

  • RE: A Matter of Degree

    webrunner (10/23/2007)


    Jereme Guenther (10/19/2007)


    I don't know how or if you have time to read all of these posts, but here are my stats.

    I obtained a BS in Software Engineering picking...

  • RE: Huge Table

    I set up a sample using these scripts:

    CREATE TABLE BigTable

    (

    ID INT,

    Date SMALLDATETIME,

    [Value] decimal(18,10)

    )

    WITH x AS (SELECT 1000001 AS Id

    ,GETDATE() AS MyDate

    ,42.2 AS MyValue

    UNION ALL

    SELECT

    ID + 1

    ,MyDate

    ,MyValue

    FROM X

    WHERE ID <...

  • RE: Need to intelligently concatenate words

    I've never heard of anything like that. Best guess I can come up with (and it stinks) is to run spell check on the fields after you concatenate them...

  • RE: Huge Table

    That's good.

    On which columns? Is it the PK? If not the PK, is it unique? What does the query plan that is taking 3 minutes look like and how...

  • RE: Recommended SQl Server 2005 Books

    All three of the Inside SQL Server 2005 books provide information you'll need.

  • RE: How to check if SQL RPC is turned on...pros/cons?

    Ignore my last post. It's utterly wrong.

  • RE: Huge Table

    What kind of indexes do you have on the table?

  • RE: How to check if SQL RPC is turned on...pros/cons?

    It is a security issue. You have to make that determination for yourself. It's off by default. Run sp_configure. It's the setting 'Remote Proc Trans' and setting it to 1...

  • RE: Huge Table

    What problems specifically are you worried about or experiencing?

    54 million rows that are composed of one integer column just isn't going to be an issue. Are you experiecing fragementation of...

  • RE: Subquery as column in query, then re-used in another column?

    The issue you're running into is the logical processing order. The SELECT list is processed after the FROM, ON, JOIN, WHERE, GROUP BY, WITH, HAVING clauses. Any reference to items...

  • RE: sql_variant

    The variant doesn't scare me (much), but everything into one table? How many users are expected to access this? What does the indexing look like? Has anyone vetted the design...

  • RE: SQL Server Management Studio for the masses

    Yeah, I mean, we had every single possible good technical, security and performance reason not to give them what they asked for. However, they trumped all those with a phone...

Viewing 15 posts - 21,601 through 21,615 (of 22,195 total)