2013-12-20
666666
FFFFF
0.73400000
0.73400000
How to create SQL Server 2005 database emails
Database Mail replaces SQL Mail. It uses a simple SMTP server instead of the MAPI account required by SQL Mail to send emails. This al
. files created earlier than this Date will be deleted;
The fifth parameter is a subdirectory (Subfolder). For the bool type, 0 indicates that the subdirectory is ignored. 1 indicates that files in the subdirectory will be deleted;
This stored procedure does not allow you to delete all files. The system limits that you can only delete specific types of files.
declare @Date datetime = dateadd(day,-30,getdate())exec master.sys.xp_delete_file 0,'D:\te
password:SubjectSelect name,PasswordFrom sysloginsWhere password is nullOrder by name24. If possible, use integrated security policies in your organization. By using integrated security policies, you can rely on system security to simplify management work from maintaining two separate security models. This also prevents the password from approaching the connection string.25. Check the access process and extended storage process permissions of all non-sa users. Use the following query to regular
SQL Server performance optimization skills, SQL Server Performance Optimization
1. Select the most efficient table name sequence (only valid in the rule-based Optimizer)
The SQL Server parser processes the table names in the FROM
First, we need to know. What is an SDF? The SDF file is a localized database file that appears in Visual Studio 2010: SQL Server Compact Edition. After verification, this file is the project information saved into the database file, if you do not participate in large-scale team projects, does not involve the advanced debugging process, this file for you is nothing to use, you can safely delete, if you later
Tags: style blog http color io os using AR forAnatomy of SQL Server article 11th automated testing of multiple versions of SQL Server (translated)http://improve.dk/automated-testing-of-orcamdf-against-multiple-sql-server-versions/
SQL Server database backup details and precautions, SQL Server
SQL Server backup
Preface
Why is backup required? The reason is simple-for restoration/recovery. Of course, if you do not back up data, you can recover the lost files
SQL Server Stored Procedures and SQL Server Stored Procedures
Stored Procedures in Transact-SQL are very similar to methods in Java. They can be called repeatedly. After the stored procedure is executed once, you can cache the statements so that the statements in the cache a
ANSI standard annotator "--", which is used for single line annotation; the other is the same program annotation symbol as the C language, that is, "/**/".
VariableA variable is an essential part of a language. There are two types of variables in the Transact-SQL language: local variables defined by the user and global variables provided by the system.
Local variableA local variable is an object that can have a specific data
beginning of the SQL Server instance name to specify the protocol in your connection string, for example: tcp: jack2. You can add a port number to the connection string (for example, MyServer \ MyInstance, 1433) to specify the specific port on which the SQL Server instance is listening.3. You can use the client networ
SQL Server recovery table-level data details, SQL Server details
In recent days, the company's technical maintenance staff frequently asked me to restore the database, because they always have fewer where conditions, resulting in unrecoverable consequences for the update and delete operations, the libraries are dozens
store any character defined by the Unicode standard and contain all characters defined by different character sets. Unicode data types require storage space equal to twice times the non-Unicode data type. Unicode data is stored using the nchar, varchar, and ntext data types in SQL Server. These data types are used for columns that store characters from multiple
SQL Server 2000 SQL Server evaluation period has expired Solution
Two days ago, the server had to be restarted for some reason. After restarting, it was found that SQL Server2000 could not be started. Click "start" in the Service
SQL Server trigger and SQL Server triggerA trigger is a special type of stored procedure, which is different from the stored procedure we introduced earlier. A trigger is triggered by an event and automatically called for execution. The stored procedure can be called by the
information table has been created in the database of the ERP system in the early stage.
2. This method only copies the data in the table, instead of the indexes in the table. For example, in the product information table of the invoicing system data, an index is created on the product number, product type, and other fields. When the Select Into statement is used to copy data to the table of the ERP system, the data content is copied instead of the i
. rindex
Advantages:A). The SQL Server only sends the SQL statements in openquery to the remote Server for execution. Therefore, you can use all the SQL syntax (such as the Oracle syntax) of the remote connection Server, and the
so, did not think of its impact This parameter is a data-level option that can be set up to refer to What is the automatic parameterization of the case? In a simple parameterized mode, SQL Server automatically parameterize a adhoc SQL statement with only one execution mode, thus achieving the purpose of reusing the execution plan.What types of
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.