Basedir = Path
Use the given directory as the root directory (installation directory).
Character-sets-dir = Path
Gives the directory where the character set is stored.
DataDir = Path
Reads the database file from
Copy Code code as follows:
/****** CREATE TABLE ******/
if exists (SELECT * from dbo.sysobjects WHERE id = object_id (N ' [dbo].[ Table] ') and OBJECTPROPERTY (ID, N ' isusertable ') = 1)
drop table [dbo]. [Table]
Go
Create TABLE
Let's say a host has 1433 ports. We have remote connections via SQL injection or null weak password
What can be done to add a system administrator user (or execute a system command)
1). xp_cmdshell ' cmd.exe/c net user aaa Bbb/add '
Everybody
--From the Excel file, import the data into the SQL database, very simply, use the following statement directly:
/*===================================================================*/
--If the table that accepts the data import already
Which view the location of the executable file
Whereis View the location of the file
Locate view file location with database
Find actual search hard disk query file name
1, which
Which is looking for executables through the PATH environment variable,
The most recent project needs to see the size of the data user table, including the number of record bars and the amount of disk space occupied. I've been searching the web for a long time. It is also possible to view the size of the space occupied
After the MySQL installation is successful, there are several default configuration templates, which are listed below:MY-HUGE.CNF: for high-end products server, including 1 to 2GB RAM, mainly running MySQLMy-innodb-heavy-4g.ini: for installation
1, MySQL support enum, and set type, SQL Server does not support2, MySQL does not support nchar,nvarchar,ntext type3, the MySQL increment statement is auto_increment, and MSSQL is identity (1,1)4, MSSQL default Everywhere table creation statement
In asp.net, use C # to connect to SQL database, and use SQL statement query, never contacted C # before, recently used, groping for two days finally run up, Mark, don't like to spray
There are two ways: (the first method is not safe, I am not sure ^
Log4j is an excellent open source logging project, we can not only customize the format of the output log, but also define the destination of the log output, such as: screen, text file, database, even through the socket output. This section mainly
Publish two large data sets common paging stored procedures, welcome to contact me to explore ways to improve, and I will update the content in a timely manner posted at the following Web siteHttp://www.thinksea.com/thinksea/show.aspx?id=92db4c46-221
SQL stored procedures are widely used in SQL databases, and here is how to define SQL stored procedures, and if you are a user who has just contacted a SQL database, you may want to look at it to help you learn about SQL stored procedures.
Excel|server
Basic ways to import/export Excel from SQL Server
/*=================== Import/Export Excel basic methods ===================*/
From the Excel file, import the data into the SQL database, very simply, using the following statement
Data | database | Data synchronization
Using database replication technology to realize data synchronization update
The concept of replication
Replication is the technique of copying a set of data from one data source to multiple data sources, and
Stored Procedures | pagination | Data first, CREATE TABLE Tiku_koushi
if exists (SELECT * from dbo.sysobjects WHERE id =OBJECT_ID (N ' [dbo].[ Tiku_koushi] and ObjectProperty(ID, N ' isusertable ') = 1)drop table [dbo]. [Tiku_koushi]GoCREATE
When you update a large amount of data, prepare an INSERT statement multiple times, causing many times of network connectivity. To reduce the number of JDBC calls to improve performance, you can use PreparedStatement's Addbatch () method to send
To view the size of the database table, query SQL Server online to get the following statement from the book:sp_spaceusedDisplays the number of rows, reserved disk space, and disk space used by tables in the current database, or displays the disk
1 determining whether a database existsif exists (SELECT * from sys.databases WHERE name = ' database name ')drop database [DB name]2 Determining whether a table existsif exists (select * from sysobjects where id = object_id (n ' [table name] ') and
How to query the database name, data table name, field name in Oracle,sql server,mysqlCategory: Database2012-09-24 22:16 7034 people read reviews (0) favorite reports Database SQL ServeroraclemysqltableobjectDirectory (?) [+]When developing a
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.