Displaying 2 results from an estimated 2 matches for "mystoredproc".
2005 Dec 20
8
Using rails with stored procedures
Hi all!
I am quite new to rails, and I would like to know if there is a
tutorial, or if someone can tell me how to use rails with stored
procedures and views.
Any help would be appreciated.
Thanks to all
--
-------------------------------------------
Gioachino Bartolotta
2005 Aug 25
2
Custom Application For Asterisk
...ttype));
strncpy(resulttype, (const char *) value, 3);
memset(myretnumber, 0, sizeof(myretnumber));
strncpy(myretnumber, (const char *) (value+4), strlen((const char *) value)-4);
}
}
if(!strcmp(resulttype,"NEW")){
sprintf(mysqlcmd, "Execute MyStoredProc \'%s\'\0",((char *) data));
if ((tds_submit_query(tds, mysqlcmd) != TDS_SUCCEED) || (tds_process_simple_query(tds) != TDS_SUCCEED)) {
ast_verbose(VERBOSE_PREFIX_3 "Failed to query database.\n");
ast_mutex_unlock(&tdslock);
res = -1;
retur...