[GENERAL] Column Type Suggestions

2009-10-29 Thread Blake Starkenburg
I am in the midst of planning for a new database which will contain specific keywords relating to different products. For example a "Microwave" may have the keywords HOUSEHOLD -> PANASONIC -> CAROUSEL -> CONVECTION -> 2200 WATTS. A pair of Levis may be CLOTHING -> LEVIS -> STONEWASHED -> BOOT CUT -

[GENERAL] Possible to UPDATE array[] columns?

2009-10-30 Thread Blake Starkenburg
Using SQL is it possible to UPDATE (append) onto an array[] column. For example say I have a column named "scores int[]". ID | scores 2 | {54,14,21,8} 3 | {12,0,7} Now I want to append the score of 12 on row:ID 2 so the new scores would read {54,14,21,8,12}. I thought maybe simply leaving th

[GENERAL] Limit postgresql query results

1999-08-16 Thread Blake Starkenburg
Hello, I am using PostgreSQL 6.3 and PHP. I am trying to build a query that only returns 20 results at a time, with a "next" link at the bottom of the query results for the next 20. Someone suggested to me that I use the below block of code (pg_Exec ($conn, "set QUERY_LIMIT='20'");). How would I u

[GENERAL] Postgresql back-end - INTEGRATED - Excell Spreedsheets

2000-01-14 Thread Blake Starkenburg
Hello All, I am looking for opinions and suggestions on setting up integration between a back-end PostgreSQL database engine hosted on a web server and a client using Excel spreadsheets to store and print internal product information and pricing. Here's the scenario: I am using a Linux web server