Click here to Skip to main content
16,006,065 members
Home / Discussions / Database
   

Database

 
AnswerRe: updating a record Pin
sidbaruah17-Jul-07 18:55
sidbaruah17-Jul-07 18:55 
GeneralRe: updating a record Pin
Rharzkie17-Jul-07 23:21
Rharzkie17-Jul-07 23:21 
AnswerRe: updating a record Pin
Blue_Boy17-Jul-07 22:25
Blue_Boy17-Jul-07 22:25 
QuestionRe: updating a record Pin
Rharzkie18-Jul-07 0:38
Rharzkie18-Jul-07 0:38 
AnswerRe: updating a record [modified] Pin
Blue_Boy18-Jul-07 2:40
Blue_Boy18-Jul-07 2:40 
QuestionSQL query for Registration Pin
Delin raj17-Jul-07 18:01
Delin raj17-Jul-07 18:01 
AnswerRe: SQL query for Registration Pin
gauthee17-Jul-07 20:52
gauthee17-Jul-07 20:52 
QuestionSQL2005 compatibility problem Pin
Peterson Luiz17-Jul-07 4:15
Peterson Luiz17-Jul-07 4:15 
Hello all,

I have an old C++ program that uses sql2000. Now I need to migrate the database to sql 2005 express. I don't have access to the program fonts.

The thing is that this program creates some tables with names such as "S7:[PLC1|VFD1|S7online]DB118,B28,1" (yes, all of that...). Now, after the installing sql2005, the C++ program can not create the tables any more, displaying the message:

CADORecordset Error
Code=80040e14
Code meaning=IDispatch error#3092
Description=An object name or column is missing or empty. Verify is all the columns of the SELECT INTO instructions have names. At the other instructions, search for empty alias names. Alias defined as " " or [] are not alowed. Add a name or unique space as a alias name.

I've tried to set the compatibility mode to sql80 using the
"EXEC sp_dbcmptlevel dbname, 80" instruction. After that, the error message has stopped, but still no tables are created.

I actually can create a table with the name "S7:[PLC1|VFD1|S7online]DB118,B28,1", executing a "create table" at the management studio. But I can only creat it if the table name is between doble quotation marks ("). I suspect that the C++ program puts the table name between single quotation marks ('), or no quotation marks at all. If I try in this way at the management studio I get an error.

Anybody have any ideas of how I can make this work whitout changing the C++ program??

Thanks


Peterson

AnswerRe: SQL2005 compatibility problem Pin
originSH17-Jul-07 4:57
originSH17-Jul-07 4:57 
GeneralRe: SQL2005 compatibility problem Pin
Peterson Luiz18-Jul-07 4:19
Peterson Luiz18-Jul-07 4:19 
QuestionADO and ODBC - confused Pin
Tom Wright17-Jul-07 4:09
Tom Wright17-Jul-07 4:09 
AnswerRe: ADO and ODBC - confused Pin
Bert delaVega17-Jul-07 4:37
Bert delaVega17-Jul-07 4:37 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:13
Tom Wright17-Jul-07 5:13 
GeneralRe: ADO and ODBC - confused Pin
Bert delaVega17-Jul-07 5:29
Bert delaVega17-Jul-07 5:29 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:35
Tom Wright17-Jul-07 5:35 
AnswerRe: ADO and ODBC - confused Pin
Mike Dimmick17-Jul-07 5:20
Mike Dimmick17-Jul-07 5:20 
GeneralRe: ADO and ODBC - confused Pin
Tom Wright17-Jul-07 5:27
Tom Wright17-Jul-07 5:27 
GeneralRe: ADO and ODBC - confused Pin
Pete O'Hanlon18-Jul-07 3:15
mvePete O'Hanlon18-Jul-07 3:15 
QuestionKnowing Table structure in Sybase Pin
meeram39517-Jul-07 3:33
meeram39517-Jul-07 3:33 
AnswerRe: Knowing Table structure in Sybase Pin
andyharman17-Jul-07 4:12
professionalandyharman17-Jul-07 4:12 
AnswerRe: Knowing Table structure in Sybase Pin
PIEBALDconsult17-Jul-07 7:54
mvePIEBALDconsult17-Jul-07 7:54 
Questionnewbie: How can I see the warnings when creating DB from file? Pin
Atara17-Jul-07 1:57
Atara17-Jul-07 1:57 
AnswerRe: newbie: How can I see the warnings when creating DB from file? Pin
Atara17-Jul-07 21:02
Atara17-Jul-07 21:02 
QuestionORA-12705: Cannot access NLS data files or invalid environment specified Pin
qtuan16-Jul-07 22:25
qtuan16-Jul-07 22:25 
QuestionProblem in Query Pin
Khan.Bangash16-Jul-07 21:42
Khan.Bangash16-Jul-07 21:42 

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.