Forum Replies Created

Viewing 15 posts - 6,151 through 6,165 (of 8,416 total)

  • RE: Transpose cloumns into rows and rows into columns

    Thanks very much!

  • RE: Again - Rows to Columns but null should be ignored

    SELECT U.id, U.requirement

    FROM #myTable1

    UNPIVOT (requirement FOR col IN (req1, req2, req3, req4, req5)) U;

  • RE: Are the posted questions getting worse?

    It never ceases to amaze me how much a question can change from first post to solution.

    An entertaining one recently started like this:


    dear friends

    how can i convert a field with...

  • RE: can't print the value of a local variable

    Robert Frasca (2/16/2010)


    The whole point of this exercise is to set MAXDOP just for this query but the number of cpu's can be variable. Now, I just realized that...

  • RE: IsNull and Is Null

    IS NULL and IS NOT NULL are provided to facilitate comparisons with NULL. Using a function like ISNULL(X, Y) instead is a bit of an odd choice - and...

  • RE: LEFT JOIN Predicates ON vs WHERE

    I hope you now understand why my reply did answer your question on the other thread 🙂

    Paul

  • RE: Rollback Tran in Error Handler sp

    subrammail (2/17/2010)


    I am facing kind of problem, Any one help us:-)

    The original question was from August 2008.

    Tell us about your problem - it's likely to be different.

  • RE: Updates on dependent columns

    landrior (4/26/2009)


    I was wondering if there is a more efficient way to perform the updates.

    If you really need to store (persist) all the values, the best you can do is...

  • RE: convert nvarchar to int

    Here we go then...

    -- Switch to the tempdb database

    USE tempdb;

    GO

    -- Drop any objects created by this script if they are still around from a previous run

    IF OBJECT_ID(N'dbo.SampleData', N'U') IS...

  • RE: Are the posted questions getting worse?

    RBarryYoung (2/16/2010)


    Paul White (2/16/2010)


    CirquedeSQLeil (2/16/2010)


    I want a Hippopotamus for Christmas

    Only a Hippopotamus will do...

    This strikes me as very funny - but I'm not sure why. Am I missing a...

  • RE: convert nvarchar to int

    dr_csharp (2/16/2010)


    1-as you know i asked this question and no one has appropriate answer after 2 days.

    You know that if you don't get an 'appropriate answer' after 3 days, you're...

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (2/16/2010)


    I want a Hippopotamus for Christmas

    Only a Hippopotamus will do...

    This strikes me as very funny - but I'm not sure why. Am I missing a reference, or are...

  • RE: convert nvarchar to int

    dr_csharp (2/16/2010)


    Yes Paul, data are numeric stored in NVarchar fields in persian. and the function i did, is going to convert any number to latin format.

    Any other details you'd like...

  • RE: convert nvarchar to int

    Right. I think I have worked out what you are trying to do. Correct me on the following where I am wrong:

    You have data stored in a database...

  • RE: convert nvarchar to int

    dr_csharp (2/16/2010)


    Paul White (2/16/2010)


    I hope everyone that reads this thread appreciates the limitations of that function. Yikes!

    i dont know what do u mean by limitation, cause this function has...

Viewing 15 posts - 6,151 through 6,165 (of 8,416 total)