You can use something like: SELECT MyFunction(); Thinks works on mySQL, i'm not sure if it works on mssql but you can give it a try. Tanks to Alban Médici (NetCentrex) who told me this a month ago on this list :) ----- Original Message ----- From: "indra Siregar" <if02008@xxxxxxxxxxxxxxxxxx> To: <php-db@xxxxxxxxxxxxx> Sent: Thursday, February 12, 2004 12:47 AM Subject: Run SQL-Server command using PHP > How I can run sql-server using PHP, like sp (stored procedure) in SQL-Server > > ThankYou > -- > Indra Siregar > IF02008 > Politeknik Informatika Del > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php