Click here to Skip to main content
15,900,325 members
Home / Discussions / Database
   

Database

 
AnswerRe: Where Clause with Result from a Stored Procedure Pin
Eric Dahlvang13-Sep-06 3:48
Eric Dahlvang13-Sep-06 3:48 
QuestionSQL Trigger not working on update statement Pin
BSRK13-Sep-06 1:22
BSRK13-Sep-06 1:22 
AnswerRe: SQL Trigger not working on update statement Pin
differenceengine17-Sep-06 2:43
differenceengine17-Sep-06 2:43 
QuestionSQL Trigger not working on update statement Pin
BSRK13-Sep-06 1:21
BSRK13-Sep-06 1:21 
AnswerRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 3:42
Eric Dahlvang13-Sep-06 3:42 
AnswerRe: SQL Trigger not working on update statement Pin
Chris Meech13-Sep-06 10:01
Chris Meech13-Sep-06 10:01 
GeneralRe: SQL Trigger not working on update statement Pin
Eric Dahlvang13-Sep-06 11:38
Eric Dahlvang13-Sep-06 11:38 
Questionproblem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante12-Sep-06 23:53
PrafullaVedante12-Sep-06 23:53 
Here i am developing a application which require to fetch Time from database . But i am getting 00:00:00 AM as a time everytime. We are using MySql database.
Code fragment is....

========================================================

_variant_t vtValue;
vtValue = RsSession->Fields->GetItem("StartTime")->GetValue();
COleDateTime d( vtValue );
sprintf( name, "%02d:%02d:%02d",d.GetHour(),d.GetMinute(),d.GetSecond() );

========================================================
in "name" i am getting "00:00:00" ..everytime.. All the other values i am retrieving from ResultSetPtr are OK.

Can any one tell me what is to be done ther ....

Thanks in advance


Prafulla Vedante
e-mail : prafulla_v@asianitg.com

AnswerRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
Rob Graham13-Sep-06 15:49
Rob Graham13-Sep-06 15:49 
GeneralRe: problem in retrieving "Time" from database using _RecordsetPtr Pin
PrafullaVedante13-Sep-06 23:12
PrafullaVedante13-Sep-06 23:12 
QuestionDeploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen12-Sep-06 21:12
Ilkka Pitkänen12-Sep-06 21:12 
AnswerRe: Deploying an application for SQL Server 2005 express Pin
Ilkka Pitkänen14-Sep-06 6:49
Ilkka Pitkänen14-Sep-06 6:49 
QuestionQuery regarding SP's Pin
ParagGupta12-Sep-06 20:54
ParagGupta12-Sep-06 20:54 
AnswerRe: Query regarding SP's Pin
_AK_12-Sep-06 21:11
_AK_12-Sep-06 21:11 
GeneralRe: Query regarding SP's Pin
ParagGupta12-Sep-06 22:37
ParagGupta12-Sep-06 22:37 
AnswerRe: Query regarding SP's Pin
sa.Eish12-Sep-06 22:59
sa.Eish12-Sep-06 22:59 
GeneralRe: Query regarding SP's Pin
ParagGupta12-Sep-06 23:34
ParagGupta12-Sep-06 23:34 
QuestionQuestion abt self joined tables Pin
Rocky#12-Sep-06 20:04
Rocky#12-Sep-06 20:04 
AnswerRe: Question abt self joined tables Pin
Stephen McGuire13-Sep-06 12:14
Stephen McGuire13-Sep-06 12:14 
QuestionA question abt making the main page of DB application Pin
Rocky#12-Sep-06 20:00
Rocky#12-Sep-06 20:00 
QuestionMultiple Record Set Pin
Amit Kumar G12-Sep-06 14:20
Amit Kumar G12-Sep-06 14:20 
AnswerRe: Multiple Record Set Pin
Not Active13-Sep-06 3:20
mentorNot Active13-Sep-06 3:20 
QuestionUrgent Need Help....Rows to Columns Pin
Amit Kumar G12-Sep-06 8:53
Amit Kumar G12-Sep-06 8:53 
AnswerRe: Urgent Need Help....Rows to Columns Pin
Eric Dahlvang12-Sep-06 11:47
Eric Dahlvang12-Sep-06 11:47 
QuestionSQL Join problem! Pin
richiemac12-Sep-06 3:21
richiemac12-Sep-06 3:21 

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.