Posts by Orlando • 83 points
4 posts
-
1
votes1
answer116
viewsQ: Error setting Executesql method
When creating the execute method it generates error at this point rs = stm.executeQuery(sql) what can I do public void excutaSQL(String sql){ try { stm=(Statement)…
-
3
votes2
answers83
viewsQ: Database connection problem
I am building an application from Netbeans IDE 8.1 and accessing the database developed in Sql server further when running the application this generates error: Connection error The port number…
-
1
votes2
answers74
viewsQ: How to use @in SQL SERVER?
I need to recover the quantity of product with price between 0 and 10. Error in variable @W_NUM of select command. BEGIN TRANSACTION; DECLARE @W_P1 int; DECLARE @W_P2 int; DECLARE @W_NUM int; set…
sql-serverasked Orlando 83 -
0
votes1
answer113
viewsQ: Count the number of notes
The program needs to enter the value of notes. When typing, the program must return number of notes 20,10,5 1 /* Code in Java */ import java.util.Scanner; class HelloWorld { public static void…