Click here to Skip to main content
15,896,154 members
Home / Discussions / Database
   

Database

 
GeneralOpinon: Direct remote access to SQL Server Pin
clintsinger21-Nov-02 6:17
clintsinger21-Nov-02 6:17 
GeneralRe: Opinon: Direct remote access to SQL Server Pin
Rob Graham21-Nov-02 8:04
Rob Graham21-Nov-02 8:04 
GeneralSQL Server OLEDB Provider and Narrow Characters Pin
Jörgen Sigvardsson20-Nov-02 22:57
Jörgen Sigvardsson20-Nov-02 22:57 
GeneralSQL Server Syntax for a CROSSTAB QUERY from MSAccess Pin
acosmin19-Nov-02 22:42
acosmin19-Nov-02 22:42 
GeneralRe: SQL Server Syntax for a CROSSTAB QUERY from MSAccess Pin
Nick Parker20-Nov-02 8:30
protectorNick Parker20-Nov-02 8:30 
GeneralSQL Server Syntax for a CROSSTAB QUERY in MSAccess Pin
acosmin19-Nov-02 22:39
acosmin19-Nov-02 22:39 
GeneralUser / system objects Pin
leppie19-Nov-02 12:22
leppie19-Nov-02 12:22 
QuestionCreate table and choosing a datetime format ? Pin
Bart-Man19-Nov-02 9:05
Bart-Man19-Nov-02 9:05 
Greetings,

I recently created a table which has a datetime varible which stores the date and time such as this "11/18/2002 1:30:33 PM".

But now I want to have milliseconds stored in this as well, such as shown below.
"11/18/2002 1:30:33.33 PM".

By default it does not allow me to add the ".33", so I am assuming it is just a formating setting when I create my table, but I am not sure how to do this? Any suggestions on how to do this?

Here is a sample section of my code of how I create my table with the date, and how I do insertion of the data. I am using sql server 2000, and ADO via Visual C++ 6.

CREATE TABLE MyTestSql
(
MyTestDate datetime
}

INSERT INTO MyTestSql(MyTestDate)
VALUES('11/18/2002 1:30:33 PM')


Thanks in advance for help?
AnswerSolution to my problem Pin
Bart-Man19-Nov-02 10:34
Bart-Man19-Nov-02 10:34 
GeneralMove data from SQL Srever to Access Pin
Ravish18-Nov-02 23:28
Ravish18-Nov-02 23:28 
GeneralRe: Move data from SQL Srever to Access Pin
Michael P Butler18-Nov-02 23:38
Michael P Butler18-Nov-02 23:38 
GeneralRe: Move data from SQL Srever to Access Pin
Paul Watson19-Nov-02 10:57
sitebuilderPaul Watson19-Nov-02 10:57 
GeneralSQL help...actually mySQL sorry Pin
Hockey17-Nov-02 19:52
Hockey17-Nov-02 19:52 
GeneralRe: SQL help...actually mySQL sorry Pin
Mazdak17-Nov-02 20:12
Mazdak17-Nov-02 20:12 
GeneralRe: SQL help...actually mySQL sorry Pin
Jason Henderson18-Nov-02 5:52
Jason Henderson18-Nov-02 5:52 
Questionwhat kind of DB uses .idx and .dat files Pin
Robert Smit14-Nov-02 23:32
Robert Smit14-Nov-02 23:32 
AnswerRe: what kind of DB uses .idx and .dat files Pin
Michael P Butler14-Nov-02 23:45
Michael P Butler14-Nov-02 23:45 
GeneralRe: what kind of DB uses .idx and .dat files Pin
Robert Smit15-Nov-02 0:48
Robert Smit15-Nov-02 0:48 
GeneralRe: what kind of DB uses .idx and .dat files Pin
Michael P Butler15-Nov-02 1:07
Michael P Butler15-Nov-02 1:07 
QuestionBest way to protect MDB file? Pin
LukeV13-Nov-02 9:59
LukeV13-Nov-02 9:59 
AnswerRe: Best way to protect MDB file? Pin
Vasudevan Deepak Kumar17-Nov-02 23:44
Vasudevan Deepak Kumar17-Nov-02 23:44 
QuestionADO Memory usage - leak? Pin
Gizz13-Nov-02 5:43
Gizz13-Nov-02 5:43 
AnswerRe: ADO Memory usage - leak? Pin
Mazdak14-Nov-02 5:47
Mazdak14-Nov-02 5:47 
GeneralTerminal Services Web Connection via ado(using c++) Pin
BP potato12-Nov-02 16:44
sussBP potato12-Nov-02 16:44 
GeneralDecimal precision Creating Table Pin
Anonymous12-Nov-02 8:19
Anonymous12-Nov-02 8:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.