Forum Replies Created

Viewing 15 posts - 3,586 through 3,600 (of 15,381 total)

  • RE: Get top 1 row in group

    pietlinden (11/19/2014)


    Itzik Ben-Gan's book on Window functions is good.

    +1

  • RE: Table valued parameter

    Great question on a great topic that many people don't know about.

    It makes sense if you think about it. How would the 208 database know that the parameter is...

  • RE: Get top 1 row in group

    vee_jess (11/19/2014)


    Thanks for your reply but your query isn't giving me the correct result! But this one does...

    with MyData as

    (

    select Stack

    , RefID

    , Name

    , ROW_NUMBER() over (Partition by RefID order by...

  • RE: QUERY HELP PLEASE

    I would recommend taking a long look at your structure. Everything is varchar(max). Do you really need that many characters in every column? There is no primary and since every...

  • RE: cursor replace hyperlink function

    Why are you using a cursor for this? And why do you have a variable named @XML that is not XML?

  • RE: Get top 1 row in group

    What a great job posting consumable data!!! I turned this into a temp table to make this a little more clear (and use it myself). Here is how you can...

  • RE: how to import values from excel into table ?

    g.britton (11/18/2014)


    Sean Lange (11/18/2014)


    For what it is worth, you should consider using a numeric datatype instead of float. It appears this is dealing with money and float is not an...

  • RE: how to import values from excel into table ?

    For what it is worth, you should consider using a numeric datatype instead of float. It appears this is dealing with money and float is not an exact numeric datatype.

  • RE: View with a wildcard * for fields

    And be warned...when building views that call views you are highly likely to get suboptimal execution plans. In short, performance is going to start degrading when you nest views.

  • RE: How to call the cursur into Stored Stored procedure

    arunnrj87 (11/17/2014)


    Hi Friends I am Using the Below mentioned Script to fetch the data from Flatfile table and i need to populate it into respective Parent and Child table by...

  • RE: SQL newbie: How to extract all columns from multiple tables and save to a new table

    Ashish Dutt (11/16/2014)


    I have four tables.

    Table1 has four columns, Table2 has 3 columns, Table3 has eight columns and Table4 has 10 columns.

    Table3 and Table4 have a same column called...

  • RE: Help for update table

    If you are explicit with your columns you could deal with this in the insert statement. Then the update statement is not needed.

    Something like this.

    insert into OrderB

    (

    City

    , [OtherColumnsHere]

    )

    select

    case...

  • RE: Memory

    Took a shot at what I guessed was the most likely answer among them and got lucky.

  • RE: Multiple Parameter Values

    Chad.Taylor (11/13/2014)


    or look at the two areas I at least, tried to highlight...:w00t:

    Yes the query I posted will not work because the multi valued parameter is NOT a table. It...

  • RE: Multiple Parameter Values

    I would recommend you use aliases in your queries. I had not until now really looked at your query. It is difficult to decipher when every column is referenced by...

Viewing 15 posts - 3,586 through 3,600 (of 15,381 total)