Forum Replies Created

Viewing 15 posts - 166 through 180 (of 369 total)

  • RE: Money

    Technically, the two data types have different precisions, but the same scale.


    [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: Update small parts of XML in DB

    I agree with Gail.

    Since the XML is stored as a single column it is treated just like any other column in the database. Therefore, you will have a row...


    [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: BLOB equivalent in SQL server 2005 ?

    First off, see the following articles and read up on the XML support:

    http://msdn.microsoft.com/en-us/library/ms345118(SQL.90).aspx

    http://msdn.microsoft.com/en-us/library/ms345115(SQL.90).aspx

    http://msdn.microsoft.com/en-us/library/ms345117.aspx

    Per the articles referenced above, you can store the XML in any of the following data types. ...


    [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...

    Kiran (12/30/2008)


    Could you provide any, best URLs/Tutorials/examples on Full Text Search component and how to write queries using it for the beginners.

    See Hilary Cotter's articles at: http://www.simple-talk.com/sql/learn-sql-server/sql-server-full-text-search-language-features/


    [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: Aggregate bit operator in TSQL

    Jeff Moden (12/24/2008)


    I'm not sure why folks try to use so many bitwise integer columns. It makes the column "multi-purpose" which is not what the definition of a column...


    [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: Aggregate bit operator in TSQL

    Jeff Moden (12/23/2008)


    Yep... "pseudo-cursor"... just like you had...

    Thanks, Jeff for taking the time to look at the problem.

    The solution implemented (pseudo-cursor) is working quite well in our application. But...


    [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: Name ,Type Words turns blue color in query window

    Matt Miller (12/23/2008)


    By the way - here's an example of TYPE being used as a T-SQL keyword:

    select * from MyTable

    where MyID=1234

    for XML path('testing'), TYPE

    Not sure why that didn't make 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: Name ,Type Words turns blue color in query window

    Steve Jones - Editor (12/23/2008)


    I heard name is a reserved MDX word (http://msdn.microsoft.com/en-us/library/ms145629.aspx), and "Type" is used in permission statements (GRANT) - http://msdn.microsoft.com/en-us/library/ms174346.aspx

    Which is my earlier point. It 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: Name ,Type Words turns blue color in query window

    Now if Microsoft was really smart they would highlight the true SQL reserved words, as noted in http://technet.microsoft.com/en-us/library/ms189822(SQL.90).aspx for SQL Server 2005, in a totally different color. Let's say...


    [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: Name ,Type Words turns blue color in query window

    So even though colid means something special to the system, that one is not even flagged.

    You stated that one shouldn't use "colid" as it is a reserved keyword. By...


    [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: Name ,Type Words turns blue color in query window

    J (12/23/2008)


    Change the coloring to be all the same color.

    Wut ??

    Highlighting keywords is a valuable assistance provided by the system. A typo in a keyword or failing to...


    [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: Name ,Type Words turns blue color in query window

    MrsPost (12/23/2008)


    Enclose them in square brackets and SQL syntax won't format them blue.

    Or...

    1. Just ignore the coloring

    2. Change the coloring to be all the same color. Under Tools /...


    [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: Aggregate bit operator in TSQL

    RBarryYoung (12/23/2008)


    JohnG; Actually, we've been talking about the BIT datatype. I think that you are talking about bit-masks encoded into INT's.

    Exactly.

    I will add that the use of SIGN needs...


    [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: Aggregate bit operator in TSQL

    Jeff Moden (12/22/2008)


    Here's a real cheater method...

    SELECT SIGN(SUM(Col1+0)), SIGN(SUM(Col2+0)), SIGN(SUM(Col3+0))

    FROM SomeTable

    That only works for the first bit. I have a similar problem where we...


    [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: Name ,Type Words turns blue color in query window

    GilaMonster (12/22/2008)


    They are SQL reserved words. Hence management studio highlights them as such.

    Not exactly. Since when is UID a reserved word? Search for UID in BOL and 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]

Viewing 15 posts - 166 through 180 (of 369 total)