Forum Replies Created

Viewing 15 posts - 76 through 90 (of 1,113 total)

  • RE: DELETE !!! soft ? or Hard ?

    I would like to delete the securities from the table where as the returns are only NULL from 01/JAN/2000 to tilldate.

    Note all the securties will have the returns from 01/JAN/2000.

  • RE: DELETE !!! soft ? or Hard ?

    yes.basically i just wanted to delete it from the table.

  • RE: Function + Performance

    Code inside the function:

    select @out_factor = factor from test_xrv

    where id = @id and return_date = @out_date

    return @out_return

    Code inside the proc:

    update dbo.test_xrv

    set returns = dbo.FnMonthlyFactorsToReturns(id,return_date)

    this will impact the performance. right?

    It...

  • RE: PRIMARY Clustered vs NonClustered

    we just fetch the records from the table and show in the UI. We won't update the table.

    my question is,

    INSERT into PRIMARY with CLUSTERED

    and

    INSERT into PRIMARY ...

  • RE: Sort Data ??? different one !!!

    how to know what is the default collating sequence assigned for any database?

  • RE: Sort Data ??? different one !!!

    yes...

    ORDER BY LEFT(Name,1), ASCII(Name) desc

    --> works fine.

    anbua97

    AzhaguA65

    balub98

    BabuB66

    BamaB66

    chennaic99

    ChitraC67

    the second one is not giving the expected result set.

    chennaic99

    ChitraC67

    balub98

    BabuB66

    BamaB66

    anbua97

    AzhaguA65

  • RE: Sort Data ??? different one !!!

    ORDER BY LEFT(Name,1) COLLATE SQL_Latin1_General_CP1_CS_AS DESC, Name

    I still don't understand the working mechanism of these queries.

  • RE: Sort Data ??? different one !!!

    order by LEFT(name,1), ASCII(name) desc

    How it works internally?

  • RE: PIVOT & TRANSPOSE

    any inputs?

  • RE: PIVOT & TRANSPOSE

    sure. my question is how should i get the expected result from a single column. If you look at the table structure, it has only one column. But the expected...

  • RE: PIVOT & TRANSPOSE

    I would like to get the below output from the table.

    "712232"|"FR"|"PCH1M)*1.000"||"12-31-71"|"06-30-11"|"M"|475| 1971 |N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|3.212

    "712232"|"FR"|"PCH1M)*1.000"||"12-31-71"|"06-30-11"|"M"|475| 1972 |N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A

    "712232"|"FR"|"PCH1M)*1.000"||"12-31-71"|"06-30-11"|"M"|475| 1973 |N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A

    "712232"|"FR"|"PCH1M)*1.000"||"12-31-71"|"06-30-11"|"M"|475| 1974 |N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A

    "712232"|"FR"|"PCH1M)*1.000"||"12-31-71"|"06-30-11"|"M"|475| 1975 |N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A

  • RE: PIVOT & TRANSPOSE

    the important one is "dynamic column".. When we receive the same file next month we will have one more column in the file. i.e 31/oct/2011.

  • RE: sql Cardinality

    any inputs?

  • RE: IDENTIFIERS !!!

    Jeff (one of my most valuable sql teacher) ,

    Thanks a lot 🙂 I understand the concepts now.

    I appreciate you for spending some time for me to give a detailed answer...

  • RE: Tranpose Column values into Column name

    oops..i just read the Part 1 article. Anyway, I have gone through the part-2. I think it will fit for my requirement. I will try and get back here.

Viewing 15 posts - 76 through 90 (of 1,113 total)