Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 811153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:59:52+00:00 2026-05-15T00:59:52+00:00

Can a Timestamp (rowversion) column in a SQL Server table be queried? If so,

  • 0

Can a Timestamp (rowversion) column in a SQL Server table be queried? If so, how?

I’d like to do something like this:

Select * From MyTable Where MyTimestampColumn = "???"

But am not sure what to put in for “???”

Thanks – Randy

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:59:53+00:00Added an answer on May 15, 2026 at 12:59 am

    The timestamp datatype is equivalent to binary(8). You can query against it:

    create table #t (somecolumn varchar(64), mytimestampcolumn timestamp)
    
    insert into #t (somecolumn) select 'hello world'
    insert into #t (somecolumn) select 'foo'
    select * from #t where mytimestampcolumn = 0x0000000000000978 -- this value will vary 
    
    drop table #t
    

    Note that timestamp has been deprecated in Sql Server 2008. In previous versions of SQL Server (2005, 2000), rowversion is a synonym for timestamp to help with future migration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 513k
  • Answers 513k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The only thing you could do is return default(T), which… May 16, 2026 at 5:49 pm
  • Editorial Team
    Editorial Team added an answer No, you must have well-formed markup. <c:set/> can have body… May 16, 2026 at 5:49 pm
  • Editorial Team
    Editorial Team added an answer As far as I know, there is no way to… May 16, 2026 at 5:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Table schema is set up something like this: userID Points timestamp 1 40 3
How can I select the maximum row from a table? What does maximum mean
I have a table in SQL Server, where i want inserts to be added
I read a mysql timestamp can only hold a value from 19700101000000 to sometime
My preliminary research says no. I have a database app in SQL Server that
JDBC offers me 3 different datatypes for time-related fields: Date, Time and Timestamp. Can
1)I have a field storing timestamp as text (YYYYMMDDHHMM). Can i get the results
is there a way to convert from unix timestamp to GMT in mysql while
I need to query a large number of rows (containing a timestamp column) and
Why can't I define a member with the same name in subclasses? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.