08-25-2014
If your needs are really low, you can use
kshsql available
here . It is just a script for the kornshell so portability is no issue as long as the kornshell is installed on your target systems.
If you need something more potent,
sqlite might be more suitable.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i'm looking to put a very minimal unix on a 386 i just acquired. it needs to be downloadable and i need to install it using 3.5 floppies!
thanks for suggestions,
-nydel (4 Replies)
Discussion started by: nydel
4 Replies
2. UNIX for Dummies Questions & Answers
has any body put freebsd on a drive smaller than 80megs? (4 Replies)
Discussion started by: silverraindog
4 Replies
3. UNIX for Dummies Questions & Answers
Hi :)
I'm a new unix user and i don't know much things about it.At the moment i've to make a work about unix databases.so i decided to come here and ask for help, if someone could tell me about a site or other mean where i can get some information about this i'll be pleased.
Tanks for any... (3 Replies)
Discussion started by: Briga
3 Replies
4. Shell Programming and Scripting
I have a shell script that carries out an extraction process as follows:
For a given input file dummy which looks like the following:
a.txt
a 1
a 2
xnzbcnzbxcbzxncbmnzxbcmzx
546
456
45
5
6
56
a 3
b.txt
b1
b2 (1 Reply)
Discussion started by: nbvcxzdz
1 Replies
5. UNIX for Advanced & Expert Users
how can i create database on unix
from command line (without using DBCA) (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies
6. Programming
Hi my friends
I am beginner unix programmer I have written small c++ program in text editor and I have change it mode to 555 to make it executable file to use it in unix O.P.
#include<iostream.h>
main()
{
cout<<"Hello World";
}
but some syntax erroe came for <<
can any one help... (5 Replies)
Discussion started by: bintaleb
5 Replies
7. Shell Programming and Scripting
Hi,
I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies
8. UNIX for Dummies Questions & Answers
I want to write a command file in Unix that can access database. what unix command can access database.
Actually, I installed software in SCO Unix, there is a database. but I want to access database without run this software in unix. How can I do? (5 Replies)
Discussion started by: wendyz
5 Replies
9. UNIX and Linux Applications
Hi all,
I get data-files which has a particular identified on the 1st record( header ), based on which I've to load a constant for the 1st column of every row. How do I set in the control file using unix shell script.
Appreciate if someone can give me some directions on this.
Thanks in... (3 Replies)
Discussion started by: lkeswar
3 Replies
10. Shell Programming and Scripting
Hello,
Decided to edit the whole post as nobody was replying, and it was pretty darn big as it was. So I have to write this script for my assignment, and I am new to scripting. The problem is we have to handle command line args, process an operations file which adds supermarket items to a database... (7 Replies)
Discussion started by: gcampton
7 Replies
LEARN ABOUT REDHAT
alter_database
ALTER
DATABASE(7) SQL Commands ALTER DATABASE(7)
NAME
ALTER DATABASE - change a database
SYNOPSIS
ALTER DATABASE name SET variable { TO | = } { value | DEFAULT }
ALTER DATABASE name RESET variable
DESCRIPTION
ALTER DATABASE is used to change the session default of a run-time configuration variable for a PostgreSQL database. Whenever a new session
is subsequently started in that database, the specified value becomes the session default value. The database-specific default overrides
whatever setting is present in postgresql.conf or has been received from the postmaster.
Only a superuser or the database owner can change the session defaults for a database.
PARAMETERS
name The name of the database whose session defaults are to be altered.
variable
value Set the session default for this database of the specified configuration variable to the given value. If value is DEFAULT or, equiv-
alently, RESET is used, the database-specific variable setting is removed and the system-wide default setting will be inherited in
new sessions. Use RESET ALL to clear all settings.
See SET [set(7)] and the Administrator's Guide for more information about allowed variable names and values.
DIAGNOSTICS
ALTER DATABASE
Message returned if the alteration was successful.
ERROR: database "dbname" does not exist
Error message returned if the specified database is not known to the system.
NOTES
Using ALTER USER [alter_user(7)], it is also possible to tie a session default to a specific user rather than a database. User-specific
settings override database-specific ones if there is a conflict.
EXAMPLES
To disable index scans by default in the database test:
ALTER DATABASE test SET enable_indexscan TO off;
COMPATIBILITY
The ALTER DATABASE statement is a PostgreSQL extension.
SEE ALSO
ALTER USER [alter_user(7)], CREATE DATABASE [create_database(l)], DROP DATABASE [drop_database(l)], SET [set(l)]
SQL - Language Statements 2002-11-22 ALTER DATABASE(7)