Re: Convert sql2000 timestamp field

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sloan

    Re: Convert sql2000 timestamp field



    Select Convert( int , MyTimeStampColu mn ) as MyTimeStampINT from
    dbo.SomeTable

    Then use it as an int in your c#

    Use an alias so you keep it straight. (MyTimeStampINT is my alias)




    "Tim Kelley" <tkelley@compan y.comwrote in message
    news:%23nDCmgER JHA.588@TK2MSFT NGP06.phx.gbl.. .
    Is it possible to store a sql2000 timestamp field to a variable in C#. I
    am creating a dataset from a stored procedure and one of the fields is a
    timestamp field. I have created a variable of type binary[], but I am not
    sure how to convert to data in the dataset.
    >
    Thanks.
    >

Working...