If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > How to SELECT * but....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-10-03, 00:18
Yusrin Yusrin is offline
Registered User
 
Join Date: Jun 2003
Location: Singapore
Posts: 20
How to SELECT * but....

I need help.. How to select all(*) but at the same time I want to cast the datetime column..?? what the statement should be..??
Reply With Quote
  #2 (permalink)  
Old 06-10-03, 02:22
msieben msieben is offline
Registered User
 
Join Date: Feb 2003
Location: Germany
Posts: 53
Re: How to SELECT * but....

Quote:
Originally posted by Yusrin
I need help.. How to select all(*) but at the same time I want to cast the datetime column..?? what the statement should be..??
hi,

you have to specify ALL columns, when you need to cast even one of them...
Reply With Quote
  #3 (permalink)  
Old 06-10-03, 06:04
Yusrin Yusrin is offline
Registered User
 
Join Date: Jun 2003
Location: Singapore
Posts: 20
Thankxx

Yeah.. thankx fren.. its orite now.. thankx..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On