Skip to Content.
Sympa Menu

freetds - troubles using tds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Roman Hlynovski" <dr AT citynet.kz>
  • To: <freetds AT franklin.oit.unc.edu>
  • Subject: troubles using tds
  • Date: Thu, 19 Apr 2001 10:59:36 +0600


Hello, i'm trying to make conversation between my linux box to ms sql server
on win nt and have a little problem. i'm
using DBD:Sybase for connection and then i'm trying to create a table like
192.168.0.1 it returns error response:

DBD::Sybase::st execute failed: Server message number=170 severity=15
state=1 line=1 server=DIAL text=Line 1: Incorrect syntax near '192'. at
./log_manager line 56.

the sample is:
$query = 'create table 192.168.0.1 (BYTES_IN_CACHE datetime)';
$sth = $dbh->prepare($query);
$sth->execute;

i've tried many combinations of ''' and '"' around the 192.168.0.1 value
but couldn't get proper result

ps: i'm using freetds-0.51 if it's important

... WBR, Roman Hlynovski (dr AT citynet.kz)





Archive powered by MHonArc 2.6.24.

Top of Page