Hi,
I need some help in sql - postgresql:
I create this 4 tables:
CREATE TABLE a (
a_id SERIAL PRIMARY KEY,
a_name text );
CREATE TABLE b (
b_id SERIAL PRIMARY KEY,
b_price INT2 );
CREATE TABLE c (
c_id SERIAL PRIMARY KEY,
a_id INT4 REFERENCES a ON UPDATE CASCADE ON DELETE CASCADE,
b_id INT4
hi
I have a problem whith inforcing the result of a selekect query, here is
my tables and the query:
I create this 4 tables:
CREATE TABLE a (
a_id SERIAL PRIMARY KEY,
a_name text );
CREATE TABLE b (
b_id SERIAL PRIMARY KEY,
b_price INT2 );
CREATE TABLE c (
c_id SERIAL PRIMARY KEY,
a_id INT4
Maybe you are looking is CURL function.
On 4/29/06, John Hicks <[EMAIL PROTECTED]> wrote:
John Hicks wrote:
> J. Alejandro Ceballos Z. -JOAL- wrote:
>>
>> I want to read the results of an URL address, to later process it and
>> insert part of them as internal code.
>>
>> If I use include or req
Ron Piggott (PHP) wrote:
I am using mySQL
In that case, mysql.com woudl have MySQL specific resources since it has
nothgin to do with PHP (aside form that is apparently what you're using
to interact with MySQL)
Please read http://www.catb.org/~esr/faqs/smart-questions.html#forum
the ent
On 5/1/06, Ron Piggott (PHP) <[EMAIL PROTECTED]> wrote:
I am using mySQL
.. a google search for "mysql reset auto_increment" reveals the answer!
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
I am using mySQL
On Mon, 2006-05-01 at 13:21 +, replies-lists-
[EMAIL PROTECTED] wrote:
>
> Original Message
> > Date: Monday, May 01, 2006 09:14:36 AM -0400
> > From: "Ron Piggott (PHP)" <[EMAIL PROTECTED]>
> > Subject: [PHP-DB] auto_increment
> >
> > How do I chan
Ron Piggott (PHP) wrote:
How do I change the auto_increment / auto_index value? Ron
Do a query that does what you want.
Without knowing the type of DB you're using (and since this is a "PHP
and Database" list not just specific DB list) or any other info, there
really isn't much you can g
How do I change the auto_increment / auto_index value? Ron
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php