column does not belong to referenced table firebird example
-----------------------------------------------------------

                 Key: CORE-3850
                 URL: http://tracker.firebirdsql.org/browse/CORE-3850
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 2.5.0
         Environment: MFC vc++
            Reporter: pankdev


I am facing a problem with Firebird,

i m using Interbase SDK(API) for Firebird and Interbse  to create and insert 
the data in Database file 


char *create_tbl = "CREATE TABLE tm_1(C1 TIME)";
 insert_data = "INSERT INTO tm_1(C1)VALUES('01:03:07')";

if (isc_dsql_execute_immediate(status, &handle, &trans, 0, insert_data, 1, 
NULL))
                {
                        char msg[512];
                        memset(msg,0,sizeof(msg));
                        long errorCode=0;
                        if (status[0] == 1 && status[1] > 0) 
                        {
                                errorCode=isc_sqlcode(status);
                                isc_sql_interprete(errorCode,msg, 512);
                                int y=90;
                        }
                }
                isc_commit_transaction(status, &trans);  

this shown following error:
column does not belong to referenced table firebird example

what will i do for this.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to