Click here to Skip to main content
15,890,506 members
Home / Discussions / Database
   

Database

 
Questionunable to view Reporting services page Pin
Jassim Rahma5-Dec-09 20:59
Jassim Rahma5-Dec-09 20:59 
Questionhow to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 2:43
AJ Hoge5-Dec-09 2:43 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Shameel5-Dec-09 5:06
professionalShameel5-Dec-09 5:06 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:10
AJ Hoge5-Dec-09 21:10 
AnswerRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy5-Dec-09 8:35
Blue_Boy5-Dec-09 8:35 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
AJ Hoge5-Dec-09 21:31
AJ Hoge5-Dec-09 21:31 
GeneralRe: how to return the douplictate records across only some column using SQL Query ? please help me ! : Pin
Blue_Boy6-Dec-09 0:41
Blue_Boy6-Dec-09 0:41 
QuestionSQLite3 program getting name of table Pin
bbranded4-Dec-09 8:00
bbranded4-Dec-09 8:00 
Hello,

Following the faq, I am attempting to query the a DB to obtain the list of table names with the following query:

SELECT * FROM sqlite_master WHERE type='table' ORDER BY name

I am using an ODBC driver and have written code in c#:

DbConnection.Open();

OdbcCommand DbCommand = DbConnection.CreateCommand();

DbCommand.CommandText = ("SELECT * FROM sqlite_master WHERE type='table' ORDER BY name");

DbReader = DbCommand.ExecuteReader();
            

List<string> TableNames = new List<string>();

for (int i = 0; i < DbReader.FieldCount; i++)
{
TableNames.Add(DbReader.GetName(i));
Trace.WriteLine(DbReader.GetName(i));
}

DbReader.Close();
DbConnection.Close();


I have a feeling that dbreader.getname(i) is returning the wrong thing, versus the query being incorrect.

Can anyone help me figure out a way to identify the names of tables in an SQLite3 DB?


Thanks,

Matt
AnswerRe: SQLite3 program getting name of table Pin
loyal ginger4-Dec-09 10:55
loyal ginger4-Dec-09 10:55 
GeneralRe: SQLite3 program getting name of table Pin
bbranded7-Dec-09 4:35
bbranded7-Dec-09 4:35 
QuestionT-SQL Code to parse and address [modified] Pin
korrowna4-Dec-09 3:48
korrowna4-Dec-09 3:48 
AnswerRe: T-SQL Code to parse and address Pin
Niladri_Biswas6-Dec-09 17:47
Niladri_Biswas6-Dec-09 17:47 
QuestionCursor issue Pin
AndyInUK3-Dec-09 23:28
AndyInUK3-Dec-09 23:28 
AnswerRe: Cursor issue Pin
Ashfield4-Dec-09 1:20
Ashfield4-Dec-09 1:20 
GeneralRe: Cursor issue Pin
AndyInUK4-Dec-09 1:28
AndyInUK4-Dec-09 1:28 
GeneralRe: Cursor issue Pin
Ashfield4-Dec-09 2:16
Ashfield4-Dec-09 2:16 
AnswerRe: Cursor issue Pin
Bassam Saoud4-Dec-09 10:41
Bassam Saoud4-Dec-09 10:41 
GeneralRe: Cursor issue Pin
Shameel4-Dec-09 23:42
professionalShameel4-Dec-09 23:42 
AnswerRe: Cursor issue Pin
RyanEK6-Dec-09 13:18
RyanEK6-Dec-09 13:18 
AnswerRe: Cursor issue [modified] Pin
Niladri_Biswas7-Dec-09 21:59
Niladri_Biswas7-Dec-09 21:59 
QuestionPerformance tip on multiple selects to retrieve alot of BLOBS? Pin
Thomas ST3-Dec-09 22:28
Thomas ST3-Dec-09 22:28 
AnswerRe: Performance tip on multiple selects to retrieve alot of BLOBS? Pin
Ashfield4-Dec-09 1:27
Ashfield4-Dec-09 1:27 
AnswerRe: Performance tip on multiple selects to retrieve alot of BLOBS? Pin
Bassam Saoud4-Dec-09 10:44
Bassam Saoud4-Dec-09 10:44 
QuestionAdding an Identity Later T-SQL Pin
Vimalsoft(Pty) Ltd3-Dec-09 21:17
professionalVimalsoft(Pty) Ltd3-Dec-09 21:17 
AnswerRe: Adding an Identity Later T-SQL Pin
Mycroft Holmes3-Dec-09 22:11
professionalMycroft Holmes3-Dec-09 22:11 

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.