[PHP-DB] Oracle to Sybase PHP question

2003-11-25 Thread Jon Davis
Hello PHP gurus, I have just started to learn PHP, since I have inherited some previous PHP scripts that I must maintain. My question is this: I have to write a script that gets data from a view in Oracle. I then need to insert that data into a Sybase database. Can this be done? This will

[PHP-DB] selecting a constant or label in php

2003-12-03 Thread Jon Davis
Sorry for another newbie question, I'm learning. In Sybase I can do: select COMM_REGIONID , count(1) from COMM_REGIONID where PHYSICAL_ID is null select COMM_TKGRP , count(1) from COMM_TKGRP where PHYSICAL_ID is null I get parsing errors when putting it in this: $result = sybase_query(select

RE: [PHP-DB] selecting a constant or label in php

2003-12-03 Thread Jon Davis
. From: Jon Davis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP-DB] selecting a constant or label in php Date: Wed, 03 Dec 2003 09:39:33 -0600 Sorry for another newbie question, I'm learning. In Sybase I can do: select COMM_REGIONID , count(1) from COMM_REGIONID where PHYSICAL_ID is null