I wanted to extract data on sql and store them in a temporary table using Netbeans.How can i do it? I have this situation:
String SQL = " select name,age into #person from registry ";
ps = con.createStatement();
rs= ps.executeQuery(SQL);
but i have this exception:
com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.