Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8894

GetDate() in query generator doesn' return the time!

$
0
0

If I issue the following statement in transact sql (via a qry in mssql 2005):

 

select getdate()

 

what I get is :2007-04-11 15:48:53.557

 

The same statement in query generator gives me: 04/11/07

 

Why the difference and how do I get the current time (from query generator - not vb code)?

 

Thanks!!


Viewing all articles
Browse latest Browse all 8894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>