select * from tbl where like is all

  • I will like the sql statement to extract all the records

    like select * from tbl where a like what ever . thanks.

  • A straight SELECT * FROM <table> will return all columns, all rows.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • I will like to simply the other thing. It is hard to explain the whole intention of my coding. Thx.

    That is the reason. ..

  • Frances L (9/2/2011)


    I will like to simply the other thing.

    What 'other thing'?

    It is hard to explain the whole intention of my coding.

    If you can't explain it, how do you expect someone to help you?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 4 posts - 1 through 3 (of 3 total)

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