Select all usernames except few usernames

  • Hi, i am having a table with usernames(Field is USERID), select * gives all usernames

    but i need to take that except 2 or 3 usernames, please help me on the query

    Thanks

    Jprakash

  • select * from <TABLE> where <cOLUMN> not in (nVALUES)

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • Thanks a lot kshitij kumar it worked out well, can you please help on joining the tables with two or three databases

  • jaype-365633 (2/14/2010)


    Thanks a lot kshitij kumar it worked out well, can you please help on joining the tables with two or three databases

    in LINQ or iin SQL??

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • in SQL-2008, all the databases are in same server

  • What is LINQ KrayKnot?

  • luckysql.kinda (2/16/2010)


    What is LINQ KrayKnot?

    Click here

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply