float->real,single
decimal->double
char->string
varchar->string

解决方案 »

  1.   

    to renzhm:
        照你这样说我应该就没错啊,但是:    
        我用Tdataset连SQL SERVER7。0数据库。
    我用下列语句为什么检索不到数据:
        dataset1.commandtext:='select NO, PW from table1
                                 where no =:account'
        我把参数account的类型设为ftfloat或ftstring都不行
     其中段no在SQL SERVER中的数据结构是这样定义的:类型是float,大小是8。
      account我声明成real,single,double都不行。
         赶快帮帮小弟吧!!!
      

  2.   

    to renzhm:
        照你这样说我应该就没错啊,但是:    
        我用Tdataset连SQL SERVER7。0数据库。
    我用下列语句为什么检索不到数据:
        dataset1.commandtext:='select NO, PW from table1
                                 where no =:account'
        我把参数account的类型设为ftfloat或ftstring都不行
     其中段no在SQL SERVER中的数据结构是这样定义的:类型是float,大小是8。
      account我声明成real,single,double都不行。
         赶快帮帮小弟吧!!!