不明白你要干什么,圆曲线SQL描述:power(x-a, 2) + power(y-b,2) = power(r,2)圆心 (a,b)
半径 r

解决方案 »

  1.   

    楼主逻辑上有错误了,"insert 圆 values(1.1,-1.1,'1.1,-1.1') ",是可以成为"中点坐标为0,0边长为2的正方形"上的点的.
      

  2.   

    就是纯计算问题.
    在客户端用delphi等语言可能更快.
      

  3.   

    创建一个功能函数然后再计算就可以了!
    alter function dbo.distance(@x float,@y float,@a float,@b  float,@radius int)
    returns int
    begin
    declare @t int
      if sqrt((@x-@a)*(@x-@a)+(@y-@b)*(@y-@b))<=@radius
      set @t=1
        else 
      set @t=0
      return @t
    endselect * from  圆 where dbo.distance(x,y,0,0.2,1)=1