Click here to Skip to main content
16,005,114 members
Home / Discussions / Database
   

Database

 
AnswerRe: Select Data Pin
Blue_Boy6-Nov-08 3:30
Blue_Boy6-Nov-08 3:30 
General[Message Deleted] Pin
siyapatel6-Nov-08 3:36
siyapatel6-Nov-08 3:36 
GeneralRe: Select Data Pin
Ben Fair7-Nov-08 6:02
Ben Fair7-Nov-08 6:02 
RantRe: [Message Deleted] Pin
Wendelius7-Nov-08 6:50
mentorWendelius7-Nov-08 6:50 
GeneralRe: [Message Deleted] Pin
Paul Conrad7-Nov-08 11:03
professionalPaul Conrad7-Nov-08 11:03 
GeneralRe: [Message Deleted] Pin
Wendelius7-Nov-08 20:29
mentorWendelius7-Nov-08 20:29 
AnswerRe: [Message Deleted] Pin
Paul Conrad7-Nov-08 11:02
professionalPaul Conrad7-Nov-08 11:02 
QuestionChanging Datatype of columns Pin
Sunil_Botre6-Nov-08 1:41
Sunil_Botre6-Nov-08 1:41 
hi,
I have created C++ application which create DSN with ODBC Microsoft text driver to use .csv file
as Database .
I want to change data type of some columns.So I tried

cmdstr = "ALTER TABLE table1 ALTER COLUMN RATE char(20)";
SQLExecDirect(hstmt, cmdstr, SQL_NTS);

But its give error as "syntax error in Alter Statement".

When we create DSN using ODBC wizard schema.ini file generate which contains the schema
information.But When I generate DSN by programmatically Schema.ini file not generate.

Pointer in this direction will be helpful for me.

Sunil
AnswerRe: Changing Datatype of columns Pin
Wendelius6-Nov-08 8:13
mentorWendelius6-Nov-08 8:13 
AnswerRe: Changing Datatype of columns Pin
joindotnet7-Nov-08 1:13
joindotnet7-Nov-08 1:13 
QuestionSearch Sql table for a word contains some letters Pin
y_mmohd5-Nov-08 23:39
y_mmohd5-Nov-08 23:39 
AnswerRe: Search Sql table for a word contains some letters Pin
Paddy Boyd6-Nov-08 0:38
Paddy Boyd6-Nov-08 0:38 
AnswerRe: Search Sql table for a word contains some letters Pin
Wendelius6-Nov-08 8:18
mentorWendelius6-Nov-08 8:18 
GeneralRe: Search Sql table for a word contains some letters Pin
y_mmohd6-Nov-08 23:39
y_mmohd6-Nov-08 23:39 
GeneralRe: Search Sql table for a word contains some letters Pin
Ashfield7-Nov-08 1:43
Ashfield7-Nov-08 1:43 
GeneralRe: Search Sql table for a word contains some letters Pin
Wendelius8-Nov-08 4:35
mentorWendelius8-Nov-08 4:35 
QuestionCross Join Pin
Meysam Mahfouzi5-Nov-08 19:59
Meysam Mahfouzi5-Nov-08 19:59 
AnswerRe: Cross Join Pin
Wendelius6-Nov-08 7:53
mentorWendelius6-Nov-08 7:53 
Questioninsert_update Stored procedure and return Identity value Pin
wajans5-Nov-08 18:35
wajans5-Nov-08 18:35 
AnswerRe: insert_update Stored procedure and return Identity value Pin
Ashfield5-Nov-08 21:11
Ashfield5-Nov-08 21:11 
AnswerRe: insert_update Stored procedure and return Identity value Pin
wajans6-Nov-08 1:12
wajans6-Nov-08 1:12 
AnswerRe: insert_update Stored procedure and return Identity value Pin
Ben Fair7-Nov-08 2:17
Ben Fair7-Nov-08 2:17 
GeneralRe: insert_update Stored procedure and return Identity value Pin
wajans7-Nov-08 2:55
wajans7-Nov-08 2:55 
QuestionAtomic Sql Statements (Transaction) Pin
Meysam Mahfouzi5-Nov-08 4:41
Meysam Mahfouzi5-Nov-08 4:41 
AnswerRe: Atomic Sql Statements (Transaction) Pin
J4amieC5-Nov-08 4:46
J4amieC5-Nov-08 4:46 

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.