Forum Replies Created

Viewing 15 posts - 3,706 through 3,720 (of 15,381 total)

  • RE: its very urgent !! How to Improving Performance or Query Tuning of SQLView with Select Command,Please help me on this issue

    You have a lot of performance hurdles to overcome in here. You have lots of nonSARGable code. You have functions all over the place in your join and where predicates....

  • RE: Are the posted questions getting worse?

    SQLRNNR (10/1/2014)


    FTR - Jack was renewed today as well.

    If I forgot, Congrats Jack.

    Congrats Jack!!!

  • RE: Split Row into Multiple Rows

    nishav2 (10/1/2014)


    Hi ,

    I am having similar kind of requirement.

    I have a table.

    create table dbo.test(ID int,Price decimal(18,9), Qty decimal(18,9))

    Insert into dbo.test values(1,5000,5000000)

    Insert into dbo.test values(2,3000,50000000)

    Insert into dbo.test values(3,100,50000)

    I need the output...

  • RE: Converting a single row into Multiple rows

    nishav2 (10/1/2014)


    Hi ,

    I am having similar kind of requirement.

    I have a table.

    create table dbo.test(ID int,Price decimal(18,9), Qty decimal(18,9))

    Insert into dbo.test values(1,5000,5000000)

    Insert into dbo.test values(2,3000,50000000)

    Insert into dbo.test values(3,100,50000)

    I need the output...

  • RE: Auto incrementing alphanumeric

    vecerda (10/1/2014)


    Hello,

    I need to auto increment an alphanumeric field in a table.

    The process is as follows:

    1. First position is static letter C for contact or static letter A for account...

  • RE: Are the posted questions getting worse?

    Jack Corbett (10/1/2014)


    If you aren't on Twitter you may have missed that Jason Brimhall (SQLRNNR) got awarded MVP today.

    WOOHOO!!! Congrats Jason!!! Well deserved sir!!!!

  • RE: Restricting access

    thedavegray (10/1/2014)


    heh I know what you mean. I have been in at least one place where the intentionally gave me totally bizarre stuff like this to see how I would...

  • RE: Restricting access

    thedavegray (10/1/2014)


    School was over thirty years ago...

    I agree, they are strange requirements but in thirty years of working I've come to conclusion that in your second week at a...

  • RE: Restricting access

    These are all rather strange requirements which make me think this is likely school work. Things like denying access to views but allowing access to tables just doesn't seem to...

  • RE: Help avoiding temp table with string of IDs passed into stored procedure

    On the issue of your problem I have to agree with Kevin. This sounds like a much bigger topic than a forum is designed to deal with.

  • RE: Help avoiding temp table with string of IDs passed into stored procedure

    ErikMN (9/30/2014)


    I don't think SQL Injection is a big problem given that the only time this procedure is called is by an application that passes in the list of IDs.

    Today...

  • RE: Trying to replace cursor

    So what should the output be based on your sample data?

  • RE: How Many Different Random Numbers?

    John Mitchell-245523 (9/30/2014)


    Sean Lange (9/30/2014)


    It doesn't actually matter what order the results are, the question didn't ask anything about what order they are in. It asked how many distinct values...

  • RE: How Many Different Random Numbers?

    andrew.ing (9/30/2014)


    Todd Reddinger (9/30/2014)


    the ORDER BY in the OVER clause orders the records returned by the select. By adding an order by on the select, a differect set of records...

  • RE: Row Size Limitation

    Koen Verbeeck (9/29/2014)


    Sean Lange (9/29/2014)


    I know that this is not neccesarily your design but starting all your table names with tbl_ and storing the datatype used in the column name...

Viewing 15 posts - 3,706 through 3,720 (of 15,381 total)