Forum Replies Created

Viewing 15 posts - 11,071 through 11,085 (of 15,376 total)

  • RE: IN Clause Question

    dwain.c (8/7/2012)


    Personally I wouldn't use Dynamic SQL for this.

    My suggestion is to pass the two lists of values (@CriteriaA and @CriteriaB) as delimited strings and use a string splitter like...

  • RE: View Help

    asm1212 (8/7/2012)


    Thanks guys, I tried using this (CTE) and it seems to come back with expected results!

    I have go back and check the business rules regarding this to confirm...

  • RE: View Help

    GSquared (8/7/2012)


    Non-recursive CTEs, and CTEs that don't reference prior CTEs, are functionally identical to classic derived tables in the From clause. There's no difference between the two in those...

  • RE: common table expressions

    erics44 (8/7/2012)


    Jeffrey Williams 3188 (7/15/2012)


    I use CTE's to organize my queries and move derived tables up to the top of the query. In other cases, I will use a...

  • RE: session limiting for a particular user or for all users

    sql-noob (8/7/2012)


    how to limit a session for a user for 30 minutes after which he automatically gets disconnected and has to connect again?????

    Are you talking about an IIS session or...

  • RE: View Help

    asm1212 (8/7/2012)


    No I am not familiar with CTE's...I have never worked with them!

    Using the incredibly simplified ddl I posted a few posts back here is an example of the view...

  • RE: Default dates?

    You're welcome. Hope that helped.

  • RE: View Help

    asm1212 (8/7/2012)


    Guys,

    This has gotten overblown...

    When I first posted that sample code stuff and realized it wasnt formatted once I finished posting, I remembered that there was a specific way yall...

  • RE: Commenting in Dynamic query

    This is indeed the second question on this topic in a few days that is quite ridiculous. Why would I care how comments are handled inside dynamic sql? Has anybody...

  • RE: View Help

    asm1212 (8/6/2012)


    Yeah no offense but my view is much larger than that, and i was trying to dumb it down...

    I have tried using the MAX function, but it does not...

  • RE: View Help

    asm1212 (8/6/2012)


    Unfortunately, I am on a time constraint and dont have time to go through all that so I apologize and will just try to keep working with what i...

  • RE: how to write dynamic search query?

    sivag (8/6/2012)


    for example here i got one dynamic search query how to use or condition in dynamic sql server

    DECLARE @WordsToSearch VARCHAR(1000)

    ...

  • RE: How to Know ip address users who are accessing the application on sql server?

    also the ip address users who are accessing the server/application

    Lowell didn't touch on this so I will. There is no way that SQL can know the IP address of...

  • RE: Syntax error in insert statement

    Lynn Pettis (8/6/2012)


    Sean Lange (8/6/2012)


    Lynn Pettis (8/6/2012)


    Sean Lange (8/6/2012)


    Ajdba (8/6/2012)


    INSERT dbo.xdata (RcNBR ,

    ...

  • RE: Syntax error in insert statement

    Lynn Pettis (8/6/2012)


    Sean Lange (8/6/2012)


    Ajdba (8/6/2012)


    INSERT dbo.xdata (RcNBR ,

    ...

Viewing 15 posts - 11,071 through 11,085 (of 15,376 total)