Forum Replies Created

Viewing 15 posts - 1,876 through 1,890 (of 2,452 total)

  • RE: SQL tidy tools

    http://www.apexsql.com

    have a free refactor add in for SSMS......you will need to download all the tools (130Mb)

    but just install the refactor

    has many options

    ps...I have no involvement with Apexsql.

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: how to split up the incentive for a member and his team leader ,maneger for admin view?

    sivag (7/5/2012)


    J Livingston SQL your proc was working fine and i am not finding exact member level of...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: how to split up the incentive for a member and his team leader ,maneger for admin view?

    sivag (7/3/2012)


    hi

    J Livingston

    sorry for the twodays i was admitted in a hospital due to an injury on my right leg now only i...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: how to split up the incentive for a member and his team leader ,maneger for admin view?

    Hi Sivag

    would be interested to know if and how you manged to resolve your problem?

    regards

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: select nth row of a concatenated query

    Jeff Moden (7/1/2012)


    sh3llm4n (6/30/2012)


    Thanks alot dudes...

    😛

    It works as good as past...

    Heh... "dudes". Not a compliment where I come from. 😉

    a colloquial meaning, maybe?

    no offence where where I come from...though...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: select distinct records based on subgroup

    is this any help?

    SELECT s.ACCOUNT,

    s.ORGANIZATION,

    ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: how to split up the incentive for a member and his team leader ,maneger for admin view?

    is this anywhere near what you want?

    CREATE TABLE [dbo].[tblMembersRelation](

    [MembersRelationID] [int] NOT NULL,

    [MemberID] [int] NULL,

    [ParentID] [int] NULL,

    [Level] [int] NULL

    ) ON [PRIMARY]

    GO

    CREATE TABLE [dbo].[tblProductInfo](

    [ProductId] [int] NOT NULL,

    [ProjectId] [int] NOT NULL,

    [SaleMemberId] [int] NULL,

    [SaleClosedPrice]...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Converting a Column into multiple columns based on another coloumn (Newbie)

    ok...

    GROUP BY StudentName

    HAVING (MAX(CASE WHEN Question = 5 THEN Answer ELSE '' END) = 'help')

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Converting a Column into multiple columns based on another coloumn (Newbie)

    santa326 (6/30/2012)


    Hi,

    How do i query the above result by using where clause?..

    i want to use where Student Name like "Stu%"

    regards

    Ravi T

    HAVING (StudentName like 'Stu%')

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Trying to solve the "red line under the = sign" problem

    try this approach

    SELECT @str1 = CASE

    WHEN ( Substring(@cString, @x, 1) ) BETWEEN 97...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: The OVER SQL construct or statement is not supported.?

    maybe worth a look..??

    http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/4b7fe6f4-abf9-46ce-be5c-d655f1f87fbb

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: COALESCE

    ReginaR1975 (6/24/2012)


    I thought COALESCE had 2 parameters. http://www.sqlservercentral.com/Forums/Post.aspx?SessionID=zfj3ym55ovoqokutkrrawu55

    COALESCE ( expression [ ,...n ] )

    I don't understand this example. It has 3 parameters.

    SELECT CAST(COALESCE(hourly_wage * 40 * 52,

    ...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: The OVER SQL construct or statement is not supported.?

    so.eslami (6/24/2012)


    i use this command for giving ranking of user but i give error

    select Score, (DENSE_RANK() OVER ( order by Score desc)) AS Ranking

    FROM cuscore

    ORDER BY Ranking

    not really sure...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How do you send a resultset as html in an email?!

    WebTechie38 (6/18/2012)


    Oh My Goodness!!!!!!!!!!!!!

    Finally success.

    I had to create the profile name on the server that I am using with the connection manager. I had previously created a profile on...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How do you send a resultset as html in an email?!

    WebTechie38 (6/18/2012)


    Well thank you for responding. But like a lot of the things I am seeing, there is one or two things that aren't explained.

    I ran the script, but...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 1,876 through 1,890 (of 2,452 total)