Forum Replies Created

Viewing 15 posts - 1 through 15 (of 369 total)

  • RE: Order My Data

    It IS NOT guaranteed! Your test cases are invalid! Case in point:

    I have a table with an IDENTITY column as the PK with a clustered index on...


    [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: Order My Data

    Mighty (12/2/2013)


    Guess that all has been said before. Only the "order by" answer is correct.

    Agree with some others to delete this question, before people might get a wrong idea.

    I totally...


    [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: What is your default database set to?

    I assign all of my SQL Server logins to the tempdb as the default database. NEVER master. This way no harm can be done by an application that...


    [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: Calculating Elapsed Times (SQL Spackle)

    lkent (9/26/2013)


    In the healthcare industry, length of stay (LOS) is always fun figuring out how to present the data.

    Usually we only count days stay with a default of 1. ...


    [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: T-SQL

    This is my first interview question for anyone who will be working with SQL. I usually "mix it up" a bit by stating that the table has a clustered...


    [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: When Windows don’t provide illumination

    Another case where the SSMS GUI failed...

    Bug in SSMS where page level locking is disabled.

    http://www.interworks.com/blogs/bbickell/2010/05/10/sql-server-index-indexname-table-tablename-cannot-be-reorganized-because-p

    Whereas, if the SQL DDL command to create the index was coded by hand, the coder...


    [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: When Windows don’t provide illumination

    I couldn't agree more. I hate the "noise" generated by SQL Server's reverse-engineering.

    I've been coding RDBMS (IBM'S DB2, Oracle, SQL Server) code (DDL and DML) for 30 years. ...


    [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: A simple T-SQL statement to create a list of lookup values

    Hugo Kornelis (3/21/2011)


    stefan.hoffmann (3/21/2011)


    hi Hugo,

    I'd like to disagree. While the last example uses only @var = column the explanation above it clearly states:

    "If a SELECT statement returns more than one...


    [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: Key Word Searches

    There is a lot of reinvention of the wheel. I've worked with full-text in both Oracle (9i, 10g) and SQL Server (2000, 2005, 2008) as well as external, i.e.,...


    [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: Creating XML from SQL Server 2005 - What are my options?

    Suresh Kumar-284278 (6/4/2012)


    Hi ucbus,

    I landed in your thread when searching for a similar solution. Thanks a lot for your effort and a sample script. However, is there a easy...


    [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: Using T-SQL to Transform XML Data to a Relational Format

    paul.morgan-1069605 (11/2/2011)


    Thanks for all of this it was exactly what I was trying to solve. I'm using the XQUERY and have all good results except one particular node format.

    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: CONTEXT_INFO() and the SQL Calling Stack

    Greg Grater (8/29/2011)


    Another great use for CONTEXT_INFO is auditing actions. Most web/windows applications create a helper class that manages opening a connection to the database. You...


    [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: why the avatar picture you use

    My first computer. Extra points to those that can identify it.


    [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: Change Server Collation in SQL Server 2008

    First off, the "SQL_" prefixed default collation for a new installation of SQL Server is bad, bad, bad! This is a legacy collation going back to the "dark ages",...


    [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: Concatenating Rows

    Robert Bourdeau (3/4/2011)


    It is a shame that TSQL lacks the CONNECT BY clause that is available with Oracle. All these complex solutions could be eliminated for many classes of row-joining...


    [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 - 1 through 15 (of 369 total)