Click here to Skip to main content
15,922,145 members
Home / Discussions / Database
   

Database

 
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 
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 
So are you still having problems with this?

Each database server typically has a different 'native' format for dates and times. The easiest (and a correct) way to overcome this is to use parameters for operations instead of literal values. For example if you're using OdbcConnection, you should use OdbcParameter class to define values for the operations.

If you still need to use literal, perhaps you could use native conversion functions such as CONVERT or CAST in SQL Server.

The need to optimize rises from a bad design.

My articles[^]

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 
AnswerRe: Updating a view Pin
Syed Mehroz Alam9-Nov-08 18:47
Syed Mehroz Alam9-Nov-08 18:47 
QuestionHOW TO FIND NO.OF ROWS UPDATED IN ONE TABLE TO STORE THAT VALUE IN OTHER TABLE Pin
harsha_mec3457-Nov-08 23:26
harsha_mec3457-Nov-08 23:26 

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.