一个eclipse操作数据库的有关问题

一个eclipse操作数据库的问题。ConnectionconngetConnection()Statementsqlconn.createStatement()sql.

一个eclipse操作数据库的问题。
Connection   conn=getConnection();
Statement   sql=conn.createStatement();
sql.executeUpdate( "drop   table   if   exists   test ");
运行到sql.executeUpdate( "drop   table   if   exists   test ");
时候报错
SQLException:[Microsoft][SQLServer   2000   Driver   for   JDBC][SQLServer]Incorrect   syntax   near   the   keyword   'if '.
请高手指点一下。

[解决办法]
你的是mysql的写法