Forum Replies Created

Viewing 15 posts - 21,541 through 21,555 (of 22,184 total)

  • RE: Help- (T-SQL)

    Sounds like you just need an "ORDER BY"

  • RE: Metadata Structure / Design Issues

    What about XML for the meta data? It really does sound like it's only semi-structured data.

  • RE: Details of In-lined table-function

    I'm sorry, I don't understand the question. Can you supply a few more details?

    When you say in-lined table function, do you mean a user defined function that returns a table...

  • RE: Dynamic Variable declaration to avoid CURSORS

    Well, again, there's not enough detail to start to give you very specific answers. It sounds like you're doing RBAR (row by agonizing row) processing. I'd strongly suggest you examine...

  • RE: Insert data from XML file

    Andras Belokosztolszki (10/31/2007)


    Grant Fritchey (10/30/2007)


    Nah, neither method is "wrong". If you're opening the XML from a file, definiately do what Andras suggested. If you're receiving the XML from an application...

  • RE: if...else statement...

    Marcus Farrugia (10/30/2007)


    What is the difference between if and iif?

    Thank you in advance for your help.

    IIF is an MDX expression used to build cubes. It corresponds to the immediate if...

  • RE: Update Statement With Incrementing Number

    This works:

    create table #t

    (Col1 nvarchar(50))

    GO

    create table #s

    (Col1 nvarchar(24)

    ,Col2 nvarchar(24)

    )

    GO

    insert into #t (col1) values ('a')

    insert into #t (col1) values ('b')

    insert into #t (col1) values ('c')

    insert into #t (col1) values ('d')

    insert into...

  • RE: how do I kill a user going through sql server management studio

    No. Analysis Services is for cubes. Totally different application. You just need to do the stuff in the post above to identify the appropriate SPID and then use the command:

    KILL...

  • RE: Estimated Number od Rows vastly incorrect for null date value

    Adding the other column will only help if it turns the index into a covering index. If you're doing SELECT *... I probably won't do anything.

  • RE: Dynamic Variable declaration to avoid CURSORS

    Shy details, it sounds like you're talking about temporary tables.

  • RE: Insert data from XML file

    Nah, neither method is "wrong". If you're opening the XML from a file, definiately do what Andras suggested. If you're receiving the XML from an application through a parameter, I'd...

  • RE: October Energy Update

    I think they want the loan guarantees because, quite frankly, the next administration (regardless of individual or party, not picking a fight with anyone), can reverse the directions & decisions...

  • RE: Estimated Number od Rows vastly incorrect for null date value

    I'm not entirely sure on this, but I believe that the statistics maintained don't include NULL values.

    If I recall correctly, statistics are based on 200 rows from within the...

  • RE: Insert data from XML file

    Use the suggestion above, or if you're passing the XML in as a parameter use the OPENXML syntax

    DECLARE @Handle int

    EXEC sp_xml_preparedocument @Handle OUTPUT, @XmlParameter

    INSERT INTO TABLE x

    SELECT ...

    FROM OPENXML (@DocHandle,...

  • RE: data type

    Lowell (10/29/2007)


    i thought float,real and numeric were non-deterministic so you get approximations like 3.99999999999999999994 for the value of 4.00 stored and such...., and it was better to use money or...

Viewing 15 posts - 21,541 through 21,555 (of 22,184 total)