The main differences of SQL statements supported by the mainstream database system are as follows: differences in data types, operator differences, function differences, common SQL differences, and differences in metadata information.
Differences
In a Java file, when you connect to a SQL Server database, you need a driver file to connect to the database.
Copy a file Jtds-0.6.jar in the Lib folder under the path where you install the JDK, and set the classpath in the environment variable,
error|server| Program
Error : "When connecting to SQL Server 2005, the default setting for SQL Server to disallow remote connections may cause this failure. (provider: Named pipe provider, error:40-cannot open a connection to SQL Server) ",
These
User ' sa ' login failed. Reason: The solution for not connecting to a trusted SQL Server is as follows:
I. Control Panel-SERVICE-"MS SQL server-" Login-"Local System account-" Restart MS SQL SERVERUsing Windows Authentication Login Query Analyzer--
Because it is a backup of a database of the same name on another computer, restore with the normal method, the hint is not the same database, do not let restore, find the following method on the net to solve:
One, right click System Database master,
Server| Error | resolution
When you install SQL Server2000, you use the default logon user as the account to start the SQL Server service (usually the administrator for the stand-alone computer that you are using), but I changed the username "failed
Remote connection SQL Server 2008, server-side and client configuration
Key settings:
The first step (SQL2005, SQL2008):
Start--> program-->microsoft SQL Server 2008 (or the)--> Configuration Tool-->sql Server Configuration Manager-->sql Server
First, basic knowledge
By default, the error log is located at:
C:\Program Files\Microsoft SQL Server\mssql.1\mssql\log\errorlog
and ERRORLOG.N files. The default retention is 7 SQL Server error log files: errorlog,errorlog.1~errorlog.6, the
server| Solve | The problem
Problem
Using SQL Server Management Studio cannot connect to the remote server, prompting the following error:
Use Telnet to connect port 1433, report connection failed, should be network management sealed 1433 port.
Change MSDE sa password and logon authentication mode Microsoft SQL Desktop Engine 2000 is a commonly used SQL support database, but the default password for its SA is empty after installation, which has a certain impact on data security. Because
server| Error | Resolving the problem with SQL Server is that the most common problems users encounter are the failure of the connection. Generally, there are two ways to connect to SQL Server:
One is to take advantage of SQL Server's own client
As you normally know, SQL Server is well integrated with Microsoft Exchange Server, and there are detailed instructions for configuring this in SQL Server online Help, no longer repeating. However, the question we are more concerned with is: How do
Symptom 1: Prompt for a program to suspend during installation.
Solution 1: (Valid for validation)
Start \ Run \ input regedit carriage return+hkey_local_machine+system+currentcontrolset+control+session Manager's Filerenameoperations
The first is to log in to SQL Query Analyzer as Windows Authentication, and then execute
EXEC sp_password NULL, ' hello ', ' sa ' to change the sa password to hello.
SQL forgot sa password modification method
To switch from mixed mode to
Server I told a story of the background is this, in a certain POS project using SQL SERVER 2000 to do the foreground database, IBM's DB2 do background database. The environment for the foreground database is such that the operating system is Windows
Window
The method is as follows:
A Locate the MSDE directory on the SQL Server installation disk and click Setup.exe to install it, and the process is simple and the next step is OK.
Two. Restart the system Windows XP, this will see the SQL
SQL Server 1069 error (Failed to start service due to logon failure) workaround
1. My Computer--control Panel--management tools--services--right key mssqlserver--properties--landing--Landing identity--Select "Local System Account"
2. My
server| Security
Turn from: http://www.sqlsecurity.com
1. Confirm that you have installed the latest patches for nt/2000 and SQL Server, needless to say everyone should have been installed, but I think it is best to remind you here.
2. Evaluate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.