Forum Replies Created

Viewing 14 posts - 31 through 44 (of 44 total)

  • RE: B-tree

    Last TechEd Europe (Barcelona, November 2008) I was talking with Kim Tripp - and she is a guru in indexing, and she told about B-trees as BALANCED TREES.

    Also Kalen...

  • RE: XML Query

    The third query gives other result than first tree - look at the element names

  • RE: TRUNCATE vs DELETE

    To easy

    No chance to make a mistake, even without morning coffee

  • RE: SP Problem

    Hello

     

    If it were xml statementstored in yuor table this would be quite easy as MS SQL 2005 has XQuery language:

    Suppose the '<html><a><b>ABCD</b></a></html>' is stored in the Col1 in the table...

  • RE: Creating FILE using T-SQL

    Hello

    The following example writes the contents of the @var variable to a file named var_out.txt in the current server directory:

    DECLARE @cmd sysname, @var sysname

    SET @var = 'Hello world'

    SET @cmd =...

  • RE: sql help

    Hello

    1) SELECT * FROM Table1 WHERE WDSBAR='xyz'

    2) CREATE TABLE Table2 (

    WDBCI <your type>

    , WDDGL <your type>

    , WDPRSQ <your type>

    , WDSBSQ <your type>

    , WDCCOD <your type>

    , WDSLNK <your type>

    )

    3) SELECT T1.*,...

  • RE: Creating a grid from 3 tables

    Hello

    I would try to change the constraint. The Customization table looks like a nromal linked table (3 rd Normal Form?) . WHy would you like to concatenate strings and separate...

  • RE: View Question

    Hello

    I think filtering will be performed first on each SELECT ... and then result is concatenated

  • RE: View Question

    hello

    You would have to define more precise how the views could look like.

    Let's assume:

    CREATE VIEW V1

    AS

    BEGIN

    SELECT Col1, Col2, Col3 FROM Table A

    ORDER BY {...}

    UNION ALL

    SELECT Col4, Col5, Col6 FROM Table B

    WHERE...

  • RE: Will SQL 2005 allow me to nest INSERT EXEC statements?

    Hello Journeyman

    Look, what construction I use and it works:

    1) create a temporary table

    CREATE TABLE #tmp (

    [_TransactionID] uniqueidentifier

  • RE: How do I include a column with the table name it came from specified in another column

    You can also use the master..sysobjects table. Your table should be there also - as name, id etc. But in fact the way given by Mr.Farley is easier 

  • RE: Will SQL 2005 allow me to nest INSERT EXEC statements?

    Journeyman wrote: I am pretty sure this will fail on 2005 also.

    insert...

  • RE: Will SQL 2005 allow me to nest INSERT EXEC statements?

    No you are wrong

    I use such statements and everything work fine

     

  • RE: Will SQL 2005 allow me to nest INSERT EXEC statements?

    Hello

    Of course you can.

    I have defined a dynamic query in the @SQLStringAll variable.Then I have run this query and populate temporary table as shown below:

    INSERT...

Viewing 14 posts - 31 through 44 (of 44 total)