Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 7,636 total)

  • RE: multiple database creation script

    rp-1074589 (1/25/2010)


    ...

    2)

    - Stored procedure cannot change the database context by using USE 'database'

    ...

    I have faced this problem many times and have developed a very reliable and consistent way deal with...

  • RE: Tally Table

    Jeff Moden (1/23/2010)


    RBarryYoung (1/23/2010)


    Jeff Moden (1/7/2010)


    ... there's likely a set based solution that will keep all forms of RBAR at bay here.

    Heh. Well, all but one ... 😀

    Where did...

  • RE: Tally Table

    Last sentence of this post?

  • RE: Normalization

    David Portas (1/22/2010)


    PaulB-TheOneAndOnly (1/21/2010)


    I can see no conflict between data normalization and accepting null values in non-key columns - as all rdbms out there allow and enforce.

    All the conventional Normal...

  • RE: Generating XML

    Assuming you are on SQL Server 2005, here is a very simple example of what Lutz was talking about:

    SELECT *

    FROM INFORMATION_SCHEMA.TABLES

    FOR XML PATH

    If you execute this with "Results to grid"...

  • RE: How to get this?

    parthi-1705 (1/22/2010)


    Hi Mark

    Nice one, that is good in 2005,we are using 2000 how to get in 2000 any idea.

    ...

    Ah. Then you should have used one...

  • RE: Problem inserting to a view. Not able to insert 2000+ Characters.

    You might also want to consider changing that TEXT field to a VARCHAR(MAX) as Microsoft recommends.

  • RE: Tally Table

    Jeff Moden (1/7/2010)


    ... there's likely a set based solution that will keep all forms of RBAR at bay here.

    Heh. Well, all but one ... 😀

  • RE: Tally Table

    AndrewSQLDBA (1/7/2010)


    ...

    I should have stated that I cannot use Dynamic SQL either. ...

    Why not? It's perfectly safe as long as you do it correctly.

    Here is how I would do...

  • RE: Including a primary key in a nonclustered index in SQL Server 2005

    Bhuvnesh: Please stop posting your code without the [ code ] formatting tags, like this:

    Bhuvnesh (1/19/2010)


    GO

    CREATE TABLE dbo.PENDING_ANSWER_FILE

    (

    acct_id dbo.ut_synthetic_key NOT NULL,

    qstn_stub dbo.ut_stub NOT NULL,

    entity_stub dbo.ut_stub NOT NULL,

    evt_stub dbo.ut_stub NOT...

  • RE: Service broker not able to cope with many login event notifications ...

    ALZ: Well, you know the drill :-), we'll need to see the sending code, the receiving code, the SB definitions and the definitions of any tables touched by the...

  • RE: Avoiding the XP_cmdshell

    RBarryYoung (1/21/2010)


    SQLPirate (1/21/2010)


    The client_net_address should represent the address of the client machine making the connection. If you're connecting directly from your machine it should show your address. If you're connecting...

  • RE: Avoiding the XP_cmdshell

    SQLPirate (1/21/2010)


    The client_net_address should represent the address of the client machine making the connection. If you're connecting directly from your machine it should show your address. If you're connecting through,...

  • RE: Isolation Levels

    nagarajan.tiruppur (12/30/2009)


    hi,

    Check

    http://msdn.microsoft.com/en-us/library/aa259216(SQL.80).aspx

    This a SQL 2005 forum and what you are pointing to is merely the SQL 2000 version of what Paul has already provided a link to.

  • RE: Is there any justification for really using SQL CLR

    Pedro DeRose [MSFT] (1/21/2010)


    Here are a couple of key use scenarios for SQL CLR:

    ...

    2. Streaming results of TVF: T-SQL table-valued functions materialize their results in temp tables, whereas CLR...

Viewing 15 posts - 1,081 through 1,095 (of 7,636 total)