Forum Replies Created

Viewing 15 posts - 91 through 105 (of 369 total)

  • RE: SELECT * versus SELECT 1 when using EXISTS

    I prefer to use SELECT NULL vs. SELECT * or SELECT 'x' or SELECT 1 for my existance tests. Selecting a NULL is a bit more indicative that nothing is...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Clustered indexes question

    See my response http://www.sqlservercentral.com/Forums/FindPost754136.aspx

    to thread http://www.sqlservercentral.com/Forums/Topic751882-361-1.aspx

    Note that we are using GUIDs exclusively for most of our PKs. Very similar to your application. It gives us a lot...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Insert into a xml column

    In order to cast a text string to the XML datatype, the text string must be valid XML. The text column that is returned from sys.dm_exec_sql_text is not XML.

    See...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: (64-bit) Full-text indexing PDF not working

    Found the fix! I.e., RTFM

    After installing the PDF iFilter, it is recommended that you set your system PATH environment variable to the "bin" folder of the "Ifilter" installation.

    For 64-bit...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Searching From Varbinary Data Type

    You should be able to full-text index varbinary(max) data that is pure "text". Just specify a value of "txt" for the companion file type column.

    I don't know if the...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Searching From Varbinary Data Type

    Database size issues aside, as that is a business / environmental issue, I would still give the Adobe iFilter a try.

    We are a SaaS-based company, hosting databases for our customers....


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: How to get rid of extra xmlns:ns1 in sub element?

    califny (8/26/2009)


    Thanks. Is it any way to workaround?

    None that I've found. We use XML extensively as a transport mechanism (i.e., to eliminate an extensive list of scalar parameters and/or...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Full-text search-help

    See my post 768830 which has links to other Full-Text resources.

    http://www.sqlservercentral.com/Forums/FindPost768830.aspx


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Urgent .. Not able to apply Service Pack 1

    First off, you should install the 64-bit version of SQL Server 2008 on a Windows 2008 64-bit server.

    Secondly, SQL Server 2008 SP1 has both a 32-bit and 64-bit version as...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: How to get rid of extra xmlns:ns1 in sub element?

    You can't. It is a bug (of sorts). See the Microsoft Connect entry (265956): https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=265956

    Please vote and enter your comments.


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: xml to relational table

    khalprin (8/21/2009)


    Thanks, that works. I'll need to read up on OPENXML

    See post 774356 for a list of Microsoft white papers on XML to read.

    http://www.sqlservercentral.com/Forums/FindPost774356.aspx


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: xml to relational table

    Don't use OPENXML! Use XQuery. See:

    http://www.sqlservercentral.com/blogs/michael_coles/archive/2008/01/20/stop-using-openxml-please.aspx


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Reading XML file and store it in SQL Server Db

    It depends upon what you wish to do with the XML. Just store it, "shred" it into a relational structure, etc.

    In addition to the documentation in the Books Online...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Searching From Varbinary Data Type

    Create a full-text index and use CONTAINS to search the contents of a binary file. However, you'll need to have a separate column that contains the file type (e.g,...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

  • RE: Bitwise help needed

    Thanks to all of the contributors to my post.

    Lowell (8/19/2009)


    noone has mentioned the TSQL bitwise operators yet. pipe (|)and carat(^) for flipping bits, and ampersand for comparisons(&)

    Yes, I DO have...


    [font="Arial Narrow"](PHB) I think we should build an SQL database. (Dilbert) What color do you want that database? (PHB) I think mauve has the most RAM.[/font]

Viewing 15 posts - 91 through 105 (of 369 total)