Click here to Skip to main content
15,905,612 members
Home / Discussions / Database
   

Database

 
AnswerRe: i can't connect in the connection wizard! Pin
Vasudevan Deepak Kumar1-Sep-07 1:20
Vasudevan Deepak Kumar1-Sep-07 1:20 
QuestionAccess Not Saving Data (Sometimes...) Pin
Expert Coming31-Aug-07 13:30
Expert Coming31-Aug-07 13:30 
AnswerRe: Access Not Saving Data (Sometimes...) Pin
Vasudevan Deepak Kumar1-Sep-07 1:21
Vasudevan Deepak Kumar1-Sep-07 1:21 
GeneralRe: Access Not Saving Data (Sometimes...) Pin
Expert Coming2-Sep-07 17:45
Expert Coming2-Sep-07 17:45 
AnswerRe: Access Not Saving Data (Sometimes...) Pin
Paul Conrad2-Sep-07 5:34
professionalPaul Conrad2-Sep-07 5:34 
GeneralRe: Access Not Saving Data (Sometimes...) Pin
Expert Coming2-Sep-07 17:46
Expert Coming2-Sep-07 17:46 
GeneralRe: Access Not Saving Data (Sometimes...) Pin
Paul Conrad3-Sep-07 5:48
professionalPaul Conrad3-Sep-07 5:48 
QuestionGet Max of a column from database Pin
.NET_Labview31-Aug-07 10:32
.NET_Labview31-Aug-07 10:32 
hello all,

i am working on a application to get the last updated date for a table. the date is already in the table in the UPDATE_TIMESTAMP column. Now the following code is not getting the result for me. can anyone help? I am getting an insufficient priviliges error

public static string GetLastUpdateTime()
{
StringBuilder sb = new StringBuilder();
sb.Append("SELECT MAX(updated_timestamp) lastUpadateTime FROM TABLEA");
OracleHelper oracleHelper = new OracleHelper();

string sql = sb.ToString();
object obj = oracleHelper.ExecuteScalar(Utility.GetConnectionKey(),CommandType.Text,sql);

if (obj == DBNull.Value)
{
return "";
}

return ((DateTime)obj).ToString("mm/dd/yyyy");
}
AnswerRe: Get Max of a column from database Pin
Expert Coming31-Aug-07 13:32
Expert Coming31-Aug-07 13:32 
GeneralRe: Get Max of a column from database Pin
.NET_Labview1-Sep-07 13:53
.NET_Labview1-Sep-07 13:53 
QuestionSQL cookbook Pin
DQNOK31-Aug-07 9:51
professionalDQNOK31-Aug-07 9:51 
AnswerRe: SQL cookbook Pin
Vasudevan Deepak Kumar1-Sep-07 1:22
Vasudevan Deepak Kumar1-Sep-07 1:22 
GeneralRe: SQL cookbook Pin
DQNOK10-Sep-07 6:15
professionalDQNOK10-Sep-07 6:15 
Questioninsertin data into new table Pin
rcwoods31-Aug-07 8:28
rcwoods31-Aug-07 8:28 
AnswerRe: insertin data into new table Pin
Colin Angus Mackay31-Aug-07 8:36
Colin Angus Mackay31-Aug-07 8:36 
AnswerRe: insertin data into new table Pin
DQNOK31-Aug-07 10:07
professionalDQNOK31-Aug-07 10:07 
GeneralRe: insertin data into new table Pin
rcwoods2-Sep-07 0:01
rcwoods2-Sep-07 0:01 
GeneralRe: insertin data into new table Pin
DQNOK10-Sep-07 4:01
professionalDQNOK10-Sep-07 4:01 
GeneralRe: insertin data into new table Pin
rcwoods10-Sep-07 11:04
rcwoods10-Sep-07 11:04 
GeneralRe: insertin data into new table Pin
DQNOK10-Sep-07 11:08
professionalDQNOK10-Sep-07 11:08 
GeneralRe: insertin data into new table Pin
rcwoods15-Sep-07 3:51
rcwoods15-Sep-07 3:51 
QuestionSQL PERVASIVE 9.0 Pin
marclenoir200531-Aug-07 6:22
marclenoir200531-Aug-07 6:22 
AnswerRe: SQL PERVASIVE 9.0 Pin
Vasudevan Deepak Kumar1-Sep-07 1:24
Vasudevan Deepak Kumar1-Sep-07 1:24 
GeneralRe: SQL PERVASIVE 9.0 Pin
marclenoir20057-Sep-07 3:44
marclenoir20057-Sep-07 3:44 
QuestionCOBOL AND MS SQL Pin
A.R.Bhagirathi30-Aug-07 23:00
A.R.Bhagirathi30-Aug-07 23: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.