Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hey all; I have a quick question

Status
Not open for further replies.

Fatih235

MIS
May 30, 2002
19
0
0
US
Hey all;

I have a quick question. I have a column car_year as varchar. How can i run this query without changing the original datatype of column_car in actual table.

select plate_number,VIN#,car_year where car_year>1998

 
hi,

Try this........

select plate_number,VIN#,car_year where CAST(car_year as int)>1998

Sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top