Saqib Ullah

BootStrapper Know How

  Home  |   Contact  |   Syndication    |   Login
  112 Posts | 1 Stories | 1045 Comments | 15 Trackbacks

News



Article Categories

Archives

Post Categories

Blogging websites

Favourite Blogs

Private Links

Sites

This is a simple query that give us Time and Date seperatly from Date Type in MS SQL 2000.

Select P.Code, Convert(Varchar,P.ArrivalTime,1) as Product_Date, Convert(Varchar,P.ArrivalTime,8) as Product_Time from Product P.


If you Change 1 and 8 in the Convert function you get new formates. I Know that its very simple .

 

posted on Friday, March 9, 2007 9:55 AM