Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Question SQL statement error - pls help

    When i try the following SQL query, i get an error:

    Expr1: "<Placemark><name>" & [rsPubname] & "</name><description><!
    [CDATA[" & [rsAddress] & "<br>" & [rsTown] & "<br>" & [rsCounty] &
    "<br><br>mypubspace.com - More info, click the
    link:<br><href><Link>http://www.mypubspace.com/viewpub1.asp?PubID=" &
    [PubID] & "</Link></href><br>]]></description><Point><coordinates>" &
    [rsLong] & "," & [rsLat] & "</coordinates></Point></Placemark>"

    the error:

    invalid SQL statement expected 'INSERT', 'DELETE, 'SELECT' etc;;

    please help?

  • #2
    Regular Coder
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    118
    Thanks
    8
    Thanked 2 Times in 2 Posts
    If you give us your SQL query it will be easier for us to solve your problem

  • #3
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CyberPirate View Post
    If you give us your SQL query it will be easier for us to solve your problem
    see my SQL above, it's suppose to output a list form my database in KML (google earth) format

  • #4
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,300
    Thanks
    4
    Thanked 203 Times in 200 Posts
    There's no query in what you posted which is why CyberPirate asked for it.
    Dave .... HostMonster for all of your hosting needs


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •