From Microsoft's JDBC driver of SQL Server, then add three JAR files under libs to the path of the project. Note: Be sure to join the three. But connect SQL Server failed. It is said that you can't open Socket, which didn't play SP3. So to Microsoft to CHS_SQL2KSP3.EXE, it can finally be connected. So to make a mapping for the USER table in the database, but whether inserting or queries are wrong, it is said that there is a syntax error near the keyword USER. It turns out that User is a keyword for SQL Server 2000, and there will be some problems when making a table name with User. So the name, sure enough, the problem is solved! Call