The win7 system is used. After separation, the MDF file cannot be found, and the entire search cannot be found. The system is full of cold sweat...
Later I thought I had renamed the database. Does MSSQL put the named file in his folder? So go
C:
-- SQL 2000 function RecursionAlgorithmIf object_id ('f _ test') is not null drop function f_testGoCreate Function f_test (@ dt int)Returns intAsBeginDeclare @ I intSelect @ I = @ DT + isnull (DBO. f_test (number), 0) from Master .. spt_values where
The backup job generated by the tool is running normally for many months, but was told by another database engineer that it was not running for a while, so it was disabled. The history log is as follows:
There is a key in the error prompt, and
Re: http://bbs.51js.com/viewthread.php? Tid = 52487 & fpage = 2
[Original: database] SQL Server database development trigger applicationQuestion: SQL Server database development trigger application
Author: cultivator
Date: 2006-01-10
Note: Due to
Today, when connecting to an ASP database, the SQL server2005 database is used. As usual, the database connection field is written, but the user 'sa 'logon error is prompted. This user is not associated with a trusted SQL server connection. So I
As I needed to train my colleagues on database indexing knowledge, I collected and sorted out this series of blogs. This is a summary of index knowledge. After summing up, I found that many vague concepts were much clearer in the past.
Whether it is
2. Call the stored procedure with input parameters
When you use a JDBC driver to call a stored procedure with parameters, you must use the call SQL escape sequence in conjunction with the preparecall METHOD OF THE sqlserverconnection class. The
In addition to using the APIS provided by office to search for Word documents, this article briefly summarizes three solutions for searching Word files based on SQL Server's full-text retrieval technology.
1. Full-text search with the Windows Index
These two days, I made a small tool for batch import of EXCEL to the SQL Server database.
It is not difficult to find a wide search on the Internet. The simplest way is to use an import tool self-contained in SQL, you only need to use a t-SQL
Three steps are required:
1. Configure SQL Agent mail.
Http://msdn.microsoft.com/en-us/library/ms186358.aspx
In this step, the profile is configured. The profile email address is the sender of the subsequent email.
2. Create an operator.
Http://
Use SQL Server to create a simple table
Because two identical tables are not allowed in the same database, you should determine whether the table exists before creating a new table. Therefore, two functions are used.
I,
Object_id:Returns the ID
Source: Was
The so-called SQL blind injection is to use automated programs to automatically scan injection points and automatically scan data tables for large-scale batch injection, which is also harmful.
Here we will discuss a method related to
SQL Server Distributed Database Problems and Solutions 2
I. symptomIf the client and server (maybe N) of the distributed transaction are not on the same server, for example, the application server and the database server are respectively, the
Description:
When you create ODBC in the control panel, errors 67 and 17 are always displayed, indicating that SQL Server (actually express) is unavailable.
Cause:
The SQL Server Browser of SQL Server Express is not started.
If the
Recently, I used vs2008 + SQL Server 2005 for development. To use stored procedures that have not been used before, I found some basic operations on the stored procedure and kept files for use.
Create a stored procedure
In the object Resource
This morning, when installing SQL Server2005, the following error occurs: "the SQL Server installer cannot obtain the system account information of the ASPNET account ....... I checked the information on the Internet, but they didn't have enough
Zhu 'er (2006.3 reposted by the author)
This article will use instances to reproduce four types of concurrency issues in database access, hoping that beginners can have a better understanding of transaction concurrency.First, let's take a look at
Clear data and execution plan cache:
DBCC DROPCLEANBUFFERSDBCC FREEPROCCACHE
Open statistics:
SET STATISTICS IO ON
SET STATISTICS TIME ON
Open the execution plan:
SETSHOWPLAN_TEXT ONSETSHOWPLAN_ALL ONSETSTATISTICS PROFILE ONSETSHOWPLAN_XML
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.