Click here to Skip to main content
15,892,059 members
Home / Discussions / Database
   

Database

 
GeneralRe: .Net OdbcConnection for Oracle Lite 40 ODBC Driver Pin
Wendelius13-Nov-08 10:36
mentorWendelius13-Nov-08 10:36 
QuestionSQL Trigger to get updated cell Pin
Indra PR10-Nov-08 0:05
Indra PR10-Nov-08 0:05 
AnswerRe: SQL Trigger to get updated cell Pin
Wendelius10-Nov-08 4:44
mentorWendelius10-Nov-08 4:44 
QuestionA transport-level error has occurred when sending the request to the server. Pin
Nitin J. Jain9-Nov-08 23:30
professionalNitin J. Jain9-Nov-08 23:30 
AnswerRe: A transport-level error has occurred when sending the request to the server. Pin
Ennis Ray Lynch, Jr.10-Nov-08 3:33
Ennis Ray Lynch, Jr.10-Nov-08 3:33 
QuestionSql Statment ProbLem Pin
soniasan9-Nov-08 23:25
soniasan9-Nov-08 23:25 
AnswerRe: Sql Statment ProbLem Pin
Wendelius10-Nov-08 4:32
mentorWendelius10-Nov-08 4:32 
QuestionDatetime datatype conversion failed in sqlserver 2008 Pin
param_joshi9-Nov-08 21:48
param_joshi9-Nov-08 21:48 
Hello All,
I am getting this error "Conversion failed to when converting datetime string to smalldatetime data type" in Sql Server 2008 and my string is 20081110072938 .....I also tried with datetime data type in Sql server but same error.

Exception comes at query

sql.Format("Insert into trade values('%s','%s','%s','%s','%s','%ld')",
m_sTimeStamp,m_sTradeStatus, m_sTradeType, m_sTradeXML, m_sTradeKcc, m_nTrdNumber);


here m_sTimeStamp has the value 20081110072938 .
query is like
insert into trade values('20081110072938','yes','Regular','xml','kcc','1');

first column is of datetime type.. it gives the conversion error in SQL Server 2008 .

.. whereas same string is getting converted to datetime format in MySQL ... and working fine with MySQL...

I am doing all this in VC++.

Can anybody help me out of this...


Thanks
AnswerRe: Datetime datatype conversion failed in sqlserver 2008 Pin
param_joshi9-Nov-08 23:51
param_joshi9-Nov-08 23:51 
GeneralRe: Datetime datatype conversion failed in sqlserver 2008 Pin
Wendelius10-Nov-08 5:43
mentorWendelius10-Nov-08 5:43 
Question[Message Deleted] Pin
B879-Nov-08 19:58
B879-Nov-08 19:58 
AnswerRe: Adding Pin
Ashfield9-Nov-08 20:20
Ashfield9-Nov-08 20:20 
QuestionHow do I create Database Script? Pin
graced889-Nov-08 15:14
graced889-Nov-08 15:14 
AnswerRe: How do I create Database Script? Pin
Wendelius10-Nov-08 4:49
mentorWendelius10-Nov-08 4:49 
GeneralRe: How do I create Database Script? Pin
graced8810-Nov-08 5:09
graced8810-Nov-08 5:09 
GeneralRe: How do I create Database Script? Pin
graced8810-Nov-08 5:12
graced8810-Nov-08 5:12 
GeneralRe: How do I create Database Script? Pin
Wendelius10-Nov-08 5:27
mentorWendelius10-Nov-08 5:27 
Questionabout combo box Pin
cutedrew9-Nov-08 15:00
cutedrew9-Nov-08 15:00 
AnswerRe: about combo box Pin
Ashfield9-Nov-08 20:22
Ashfield9-Nov-08 20:22 
QuestionDeploy SQL database Pin
Mohammad Rastkar9-Nov-08 1:13
Mohammad Rastkar9-Nov-08 1:13 
AnswerRe: Deploy SQL database Pin
Wendelius9-Nov-08 7:49
mentorWendelius9-Nov-08 7:49 
GeneralRe: Deploy SQL database Pin
Mohammad Rastkar10-Nov-08 8:44
Mohammad Rastkar10-Nov-08 8:44 
GeneralRe: Deploy SQL database Pin
Wendelius10-Nov-08 9:08
mentorWendelius10-Nov-08 9:08 
QuestionUpdating a view Pin
Yoyosch8-Nov-08 13:14
Yoyosch8-Nov-08 13:14 
AnswerRe: Updating a view Pin
Wendelius9-Nov-08 8:00
mentorWendelius9-Nov-08 8:00 

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.