Forum Replies Created

Viewing 15 posts - 106 through 120 (of 219 total)

  • RE: SQL syntax

    Grant Fritchey (5/28/2010)


    I would argue that while all three compile and run, none of them is "correct."

    What do you think about the syntax of the following statements?

    SELECT column1 * column2...

  • RE: SQL syntax

    ziangij (5/28/2010)


    However was wondering, when SSMS executes the query, it would have to do some effort to remove spaces between the words 🙂

    SSMS itself does not execute queries because it...

  • RE: DDL trigger

    webrunner (5/27/2010)


    The invalid object error is in there, but the SELECT statements agree with the SELECT statement results presented in the QOTD correct answer. What statement does the invalid object...

  • RE: DDL trigger

    Hugo Kornelis (5/27/2010)


    Note that IMPLICIT_TRANSACTION OFF is the default; vk-kirov could have omitted this and mentioned "default settings" in the text for the same effect.

    When I was writing the question,...

  • RE: What is this?

    Paul White NZ (5/26/2010)


    The same is true for geometry and geography

    On reflection, I think I prefer lower case for these method calls. What do you think?

    I like to upper-case...

  • RE: Simple LIKE with wildcard

    Tom Garth (5/26/2010)


    The actual number of rows in #t with a default installation is 20449.

    It depends 😀 I've got 3969 rows with my default installation.

  • RE: What is this?

    Paul White NZ (5/26/2010)


    For me, DECLARE @b-2 sYsNaMe; works just fine in a case-sensitive collation (SQL Server 10.0.2775 Dev x86).

    Hmmm... Microsoft changed it in SQL Server 2008. In...

  • RE: What is this?

    Paul White NZ (3/30/2010)


    It seems odd to me that type names must be lower cased in a case-sensitive database.

    It's not true (or I don't understand what you mean). The names...

  • RE: Simple LIKE with wildcard

    honza.mf (5/25/2010)


    If someone discover another collation in another language with similar behaviour, I will be very glad to have such information.

    Here is a script which finds that collations (you should...

  • RE: Simple LIKE with wildcard

    Very nice question, I learned something new.

    honza.mf


    On SQL Server with CZECH_CI_AS collation returns 3 rows ('CH', 'Ch', and 'ch') - this collation is case insensitive.

    Note that CZECH_CS_AS (case sensitive...

  • RE: Index Structures

    Paul White NZ (5/24/2010)


    Might be the same issue as http://internalsviewer.codeplex.com/WorkItem/View.aspx?WorkItemId=5882. Make sure you download the correct version - for either SSMS 2005 or 2008.

    Download choice page:http://internalsviewer.codeplex.com/releases/view/21139

    Thanks, this helped.

    Nice plug-in....

  • RE: Index Structures

    Paul White NZ (5/24/2010)


    Some people find Internals Viewer (an SSMS plug-in) easier for some tasks:

    http://internalsviewer.codeplex.com/

    Oh no... I knew it 🙂

    The Add-in 'InternalsViewer.SSMSAddIn.Connect' failed to load or caused an exception.

    ...

    Error Message:...

  • RE: Index Structures

    Paul White NZ (5/24/2010)


    EXTENTINFO, IND, and PAGE.

    You also need TRACEON(3604) with PAGE of course.

    Thanks for the information. I definitely need to play with these commands for better understanding of table...

  • RE: Index Structures

    Paul White NZ (5/24/2010)


    All three can be examined in detail using the familiar DBCC commands to verify that.

    What is the list of these commands?

    1) DBCC PAGE;

    2) ... ?

  • RE: Index Structures

    WayneS (5/20/2010)


    XML Secondary indexes have a B+-Tree index structure.

    XML Secondary Indexes: http://msdn.microsoft.com/en-us/library/bb522562.aspx

    I couldn't find a reference to B+ trees on that BOL page.

    Where can I read about secondary XML...

Viewing 15 posts - 106 through 120 (of 219 total)