Forum Replies Created

Viewing 15 posts - 52,996 through 53,010 (of 59,068 total)

  • RE: Recursive query loops

    Good idea... in fact, that's exactly what my code does... but there's nothing in the data to determine what level a node is at... just the parent ID, etc... and...

  • RE: how to find the parent

    Perfect... thanks for the feedback, Shaun.

    To keep conflicts with the Left and Right keywords to a minimum, I use LeftBower and RightBower in my code. A "bower" is one...

  • RE: how to find the parent

    He has code that inserts and increases the left and right indicies... most of my code is batch code so I just recalc the whole tree from the adjacency model.

  • RE: how to find the parent

    Shaun McGuile (1/9/2008)


    Ok I found it

    http://www.dbmsmag.com/9603d06.html

    Whoa thats like 12 years old almost. 😀

    --Shaun

    Heh... yeah... the good stuff never changes 😀

  • RE: how to find the parent

    Shaun McGuile (1/9/2008)


    Jeff do you have a link to Celko's "nested model"?

    --Shaun

    You bet...

    http://www.ibase.ru/devinfo/DBMSTrees/sqltrees.html

    If memory serves, the code that creates the nested model has a minor error in it... it leaves...

  • RE: Which Cumulative Update to apply on prod systems

    berto (1/9/2008)


    Don't you see guys that approach: I wait for problems and then apply a patch is very bad. On systems which have very strict SLAs 99,999 for example you...

  • RE: how to find the parent

    The question is wrong on the basis of design and the modeling of the parent child relationship using one column is totally flawed.

    Actually, I believe the whole "adjacency model" thingy...

  • RE: varchar datatype not writing all data to table

    Stewart Joslyn (1/9/2008)


    Is the truncation in Query Analyser or your app? If the former, check the Query Analyser setting in Tools/Options/Results tab/Max characters per column.

    If you are returning a...

  • RE: varchar datatype not writing all data to table

    GilaMonster (1/8/2008)


    It's a .net object that acts as a link between the connection and a data set. The adaptor gets told what the select, update, insert and delete

    statements for...

  • RE: Check if temporary table exists or not?

    If memory serves correctly, I believe the numerics at the end of the temp table are just a timestamp datatype. Not sure why you would consider them to be...

  • RE: time

    I gave you the code example that demonstrates how to determine if it was correctly entered to the nearest tenth of an hour... heh... didn't intend to write your whole...

  • RE: SQL SERVER 2005 vs ORACLE 10G

    JohnG (1/8/2008)


    Definately NOT true. Oracle stores two digits per byte (plus an overhead byte or two for sign, etc.) in a varying storage model. Equivalent to the new...

  • RE: Converting text to varchar data types

    Then, I don't know...

  • RE: Converting text to varchar data types

    sp_SpaceUsed may not tell the whole story unless you include a second parameter... see BOL for more info but here's the basic syntax...

    Syntax

    sp_spaceused [[@objname =] 'objname']

    ...

  • RE: SQL Defrag

    Well..... kinda... DBCC INDEXDEFRAG will report back once every 5 minutes with a % complete... so you could start a run and get the % complete... the math is pretty...

Viewing 15 posts - 52,996 through 53,010 (of 59,068 total)