How to get the Database System Time using with SQL statement????? 
Author Message
 How to get the Database System Time using with SQL statement?????

        How to get the Database or Server's System Time and Date using with
SQL statement or other method in VB? Please, send me a answer if anyone
know
about that. Thank You!

                                                Peter.



Fri, 10 Mar 2000 03:00:00 GMT  
 How to get the Database System Time using with SQL statement?????

Quote:

>         How to get the Database or Server's System Time and Date using with
> SQL statement or other method in VB? Please, send me a answer if anyone
> know
> about that. Thank You!

>                                                 Peter.


Hi,

in cas of MS SQL Server you can issue the following SQL statement:

    SELECT CURRENT_TIMESTAMP

It will bring you the following result:

    ---------------------------
    Sep 24 1997  1:58PM        

    (1 row(s) affected)

I think that this depends on the Database you are using.
However no you have the solution for SQL Server...

Bye Michael

--
*********************************************************
                    Michael Jenc
                 CAS Software GmbH
                 Karlsruhe, Germany

Replace the '_' with '-' in E-mail address to contact me



Sun, 12 Mar 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. sql statement in vb using access database

2. Getting time estimate for a SELECT statement???

3. getting time zone from system

4. getting sql statement out of recordset object

5. Getting System Time?

6. Getting System Time Over a Network..

7. Getting the system time in hundreds of seconds

8. Getting back an identity field value after an insert SQL statement

9. Getting the System Time

10. Getting NT server system time...

11. GETTING SYSTEM DATE AND TIME FROM BIOS

12. GETTING SYSTEM DATE AND TIME FROM BIOS

 

 
Powered by phpBB® Forum Software