how do i

Results 1 to 2 of 2

Thread: how do i

  1. #1
    squeeky Guest

    Default how do i

    grab the last record from a column? It is a column of type varchar in sqlserver. i know that you can use max for integers.<BR><BR>thanks.

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: how do i

    well if you have a PK as an identity for that record select that record.....or if you have a data get the last date and then the last record.....or just the last record in the Db then <BR>select top 1.......order by ColumnName DESC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts