10-02-2002
help in using database in c++
help me in using database in c++
whether datas entered in c++ can be
stored in Oracle or access database?
give a hint
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am looking for a database that i can use on Red Hat Linux 8.0. I wish to store records about my clients in it. I do not wish for i to be used on a server (3 Replies)
Discussion started by: adminbw
3 Replies
2. Programming
THis is my program
#include <stdio.h>
#include "sqlext.h"
#include "sql.h"
#include <string.h>
#include<errno.h>
// #include "sqlunix.h"
#define STR_LEN 30
#define SQL_NTS (-3)
#define MYSQLSUCCESS(rc) ((rc==SQL_SUCCESS)||(rc==SQL_SUCCESS_WITH_INFO))
... (8 Replies)
Discussion started by: ramneek
8 Replies
3. Linux
Hai ,
can any one suggest me any site where the mysql tutor for linux is avialable i am new to the linux mysql so i want to know right from the basics and how can i connect those database to planner tool in linux
:)
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
4. Programming
how can we connect to database(psql) using c language?.
Any one help.Pls say the hader file and function's avilable in C for database operation(like connecting,selecting,etc...). (3 Replies)
Discussion started by: sabari
3 Replies
5. UNIX for Dummies Questions & Answers
i've got a database setup that references user inputs to see if they are already inputted. What I am wanting to do is allow the user to update the database by typing
"update: name" where name is someone already in the database.
echo "Enter your name."
read NAME
location=`find . -name... (2 Replies)
Discussion started by: fufaso
2 Replies
6. Solaris
hi..
i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database
which is in solaris 10 x86... can u tell me the procedure ..
how it can be done through php .. sorry am new to php...
is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies
7. Solaris
I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options.
OPERATION_TYPE = "createDatabase"
GDBNAME = "solaris_user.domain.com"
SID = "solaris_user"
TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies
8. Shell Programming and Scripting
How to find out whether your database is down or not?
Could anyone provide me the command please..
Thanks
C (6 Replies)
Discussion started by: bobby1015
6 Replies
9. Shell Programming and Scripting
I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
LEARN ABOUT ULTRIX
xrmgetstringdatabase
XrmMergeDatabases(3X11) MIT X11R4 XrmMergeDatabases(3X11)
Name
XrmMergeDatabases, XrmGetFileDatabase, XrmPutFileDatabase, XrmGetStringDatabase, XrmDestroyDatabase - manipulate resource databases
Syntax
void XrmMergeDatabases(source_db, target_db)
XrmDatabase source_db, *target_db;
XrmDatabase XrmGetFileDatabase(filename)
char *filename;
void XrmPutFileDatabase(database, stored_db)
XrmDatabase database;
char *stored_db;
XrmDatabase XrmGetStringDatabase(data)
char *data;
void XrmDestroyDatabase(database)
XrmDatabase database;
Arguments
data Specifies the database contents using a string.
database Specifies the database that is to be used.
filename Specifies the resource database file name.
source_db Specifies the resource database that is to be merged into the target database.
stored_db Specifies the file name for the stored database.
target_db Specifies a pointer to the resource database into which the source database is to be merged.
Description
The function merges the contents of one database into another. It may overwrite entries in the destination database. This function is
used to combine databases (for example, an application specific database of defaults and a database of user preferences). The merge is
destructive; that is, the source database is destroyed.
The function opens the specified file, creates a new resource database, and loads it with the specifications read in from the specified
file. The specified file must contain lines in the format accepted by If it cannot open the specified file, returns NULL.
The function stores a copy of the specified database in the specified file. The file is an ASCII text file that contains lines in the for-
mat that is accepted by
The function creates a new database and stores the resources specified in the specified null-terminated string. is similar to except that
it reads the information out of a string instead of out of a file. Each line is separated by a new-line character in the format accepted
by
If database is NULL, returns immediately.
See Also
XrmGetResource(3X11), XrmInitialize(3X11), XrmPutResource(3X11), XrmUniqueQuark(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XrmMergeDatabases(3X11)