Skip to Content.
Sympa Menu

freetds - Re: Insert into MS SQL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Geoff Winkless" <geoff.winkless AT farmline.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Insert into MS SQL
  • Date: Mon, 20 Nov 2000 09:35:14 -0000


"Albert Mok" <doneeta AT hotmail.com> wrote:
> I would like to have some information regarding the 'insert' statement
> into MS SQL. I have tried for some times but I still can't make it while I
> can do the 'select' statement already. By the way, I'm using PHP 4.03 in a
> Linux box and MS SQL 7.0 under Win2k. I wrote the code as follows:
>
> $result = mssql_query("insert into $xxx values ('xxx', 'xxx')");

Interesting. Does it work if you specify the column names in the query
statement?

Geoff





Archive powered by MHonArc 2.6.24.

Top of Page