Forum Replies Created

Viewing 15 posts - 136 through 150 (of 201 total)

  • RE: Reading XML from ntext field

    And how can one use this procedure in T-SQL if the [n]text variables aren't supported?

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: How to Export Result Set to Excell file

    What version of Excel are you using?

    For instance, in Excel 2007 in the Data ribbon in the Get External Data section using the "From Other Sources" tool you can create...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Automatic Update on Sql Server 2005 Server Failed for Visual Studio 2005 SP1

    Oh, I completely forgot about that one! And to think this was one of the reasons why I moved my temp folder off C:... :hehe:

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: DATA FLOW TASKS IN SSIS....! A CHallenge ? Or ...??

    I see. I think you should verify that the data can be converted in the Script Task, and possibly do the conversion there.

    If the source contains rows with variable data...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Text search inside attached html files

    If all your HTML documents are well-formed XML, you can use the XML data type.

    If you plan on using other binary types (doc, pdf, etc.) you should use the varbinary(max)...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Anyone know how to make it say All System Databases in maintenance plan with TSQL

    Selecting "All databases" in GUI is translated into as many queries/statements as there are databases.

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: XML to SQL server

    Best way according to what criteria?

    In SQL 2000 using a client application to parse XML data is your best option. Don't use SQL Server for tasks it's not good at.

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: How to Export Result Set to Excell file

    In addition to using DTS you should look up OPENROWSET in Books Online.

    However, if the Excel destination is used frequently, you should consider adding a permanent connection to it using...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: OPENXML query

    Your XML did not make it through. Use the IFCode option from the toolbar and repost the example.

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: DATA FLOW TASKS IN SSIS....! A CHallenge ? Or ...??

    You could use the Data Conversion task. Have you considered that?

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Reading XML from ntext field

    Look up sp_xml_preparedocument (and sp_xml_removedocument) in Books Online.

    In SQL 2000 you're limited to XML instances (i.e. their character representations) not exceeding 8000 Bytes varchar (4000 Bytes nvarchar) as [n]text variables...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Need help on combining 2 triggers into one trigger

    Are you aware of the fact that triggers fire *per statement* and *not per row*? Your will get unexpected results for multi-row inserts.

    Instead of using the SELECT query (which actually...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Converting Rows To Columns

    Look up PIVOT in Books Online.

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Login Failed for user: (null)

    Are you using integrated or SQL security?

    Do the OS users have access to the server (a SQL Server LOGIN mapped to the Windows NT user account) and the database (database...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

  • RE: Automatic Update on Sql Server 2005 Server Failed for Visual Studio 2005 SP1

    You need the appropriate edition of the SP1. AFAIK you have to download it manually from Microsoft Downloads - there are different editions.

    OTOH, Microsoft Update is not perfect, and it...

    ML

    ---
    Matija Lah, SQL Server MVP
    http://milambda.blogspot.com

Viewing 15 posts - 136 through 150 (of 201 total)