contains a string @str
SELECT DISTINCT object_name (ID) from syscomments where text like '% @str% '
Create an encrypted stored procedure or function with the with encryption parameter in front of AS
Decryption of encrypted stored procedures and functions can be done using the Sp_decrypt procedure
10. View information about users and processes in the database
sp_who
View information about active users and processes in the
Tags: style blog http io ar color using SP on This experience uses the SQL database migration Wizard (SQLAZUREMW) to migrate SQL Server 2008 databases to Azure SQL database. Of course, SQLAZUREMV can also migrate SQL Server 2005/2
string @strSELECT DISTINCT object_name (ID) from syscomments where text like '% @str% 'Create an encrypted stored procedure or function with the with encryption parameter in front of ASDecryption of encrypted stored procedures and functions can be done using the Sp_decrypt procedure10. View information about users and processes in the databasesp_who
View information about active users and processes in the SQL Server databasesp_who ' Active '
To view
The current solution is: Remove the other files on the hard disk, to empty the hard disk space, the database log file size to unrestricted, and then detach the database, to ensure that the separation is successful, and then delete the database log files (preferably renamed first, just in case). Attach the database agai
object that contains a string @str
SELECT DISTINCT object_name (ID) from syscomments where text like '% @str% '
Create an encrypted stored procedure or function with the with encryption parameter in front of AS
Decryption of encrypted stored procedures and functions can be done using the Sp_decrypt procedure
10. View information about users and processes in the database
sp_who
View information about active users and processes in the
Tags: implementation mechanism originally page organizes tables based on free article content index ClustFollowing the book on SQL tuning (SQL tuning or SQL optimization) in the essentials of high-performance SQL tuning and case resolution, we talk today about one of the most important core mechanisms of
Database SQL optimization Summary-millions of database optimization solutions, Database SQLDatabase SQL optimization Summary-millions of database Optimization Solutions
There are many tutorials on
Method 1:1. Open the query analyzer and enter the command
Backup log database_name WITH NO_LOG
2. Choose "Enterprise Manager"> "right-click the database to be compressed"> "all tasks"> "shrink Database"> "contract file"> "select" Log File ">" contract to xxm "in the contract mode, here we will provide a minimum number of m that can be reduced. Enter this number d
the test found that the publication database is a simple recovery model, every 10 seconds to generate some large transactions, 10 minutes to shrink the database log,
The jobs on both the publish and Subscriber are paused, and no transaction changes have been lost since the resume was paused
Publishing tables can do data filtering, such as selecting only some of
Access
The operation is very simple, the specific steps are as follows: Open your MDB database, tools--> Database Utilities--> compression and Repair Database (c) ...
SQL SERVER
In general, the contraction of the SQL database
One
First you need to define a database interface function that can be saved as a single PHP page
functiondb_connect() {$result = new mysqli('数据库地址', '账号', '密码', '库名');//连接数据库if (!$result) { returnfalse;//连接失败 } return$result;//返回数据库对象}?>
Two
In another PHP page, the first use of the include函数 PHP page contains the above, it is necessary to ensure that the above interface functions can be called correctly
!--? php function
Database SQL optimization Summary-millions of database optimization solutions, Database SQL
(1) select the most efficient table name sequence (only valid in the rule-based seo/'target = '_ blank'> Optimizer ): the ORACLE parser processes the table names in the FROM clause in
. The SQL Server system has some problems. SQL Server is a set of large professional database software, which often requires maintenance and cleaning. However, we system developers cannot always go to the users for maintenance, this is especially costly for commercial software. If you can put the maintenance work on SQL
SQL Server database table writing operations (database creation, table creation, and statement modification), SQL Server database creation
Learning points:
SQL-SQL statements. The head
SQL statement optimization improves database performance and SQL statement database performance
In systems with unsatisfactory performance, apart from the fact that the application load exceeds the server's actual processing capacity, it is more because the system has a large number of
functionsSp_helptext ' @procedure_name '
View the name of a data object that contains a string @strSELECT DISTINCT object_name (ID) from syscomments where text like '% @str% '
Create an encrypted stored procedure or function with the with encryption parameter in front of AS
Decryption of encrypted stored procedures and functions can be done using the Sp_decrypt procedure
10. View information about users and processes in the databasesp_whoView information about active users and processes in the
Tags: dynamic combined with MAC Max Sem named create summary Uninstall Preface This is my work more than two years later, starting from the most basic SQL start, seriously learn SQL Server, Leackage Check and consolidation have all; because I was just beginning to learn, always upset, recently changed work, found 1-2 years of experience, asked the basic thing or a lot, This time needed is a solid foundation
the test found that the publication database is a simple recovery model, every 10 seconds to generate some large transactions, 10 minutes to shrink the database log,
The jobs on both the publish and Subscriber are paused, and no transaction changes have been lost since the resume was paused
Publishing tables can do data filtering, such as selecting only some of
How to delete a database log file
You used to have it. When executing SQL, the database reports that the transaction log is full and then executes the error. Then tangled in how to delete the database log, for half a day, now provide two kinds of methods to delete log files, I hope to help you!
Method One: manual ope
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.