server| Backup 1, into Enterprise Manager-> Management->sql Server Agent-> operations;
2, the new job, the name of the job to take, for example: Data backup, the owner Select SA, of course, you can also choose other users, provided that the user has
After the clock has finished reading this article, you can make your own clock. First, we'll make a simple digital clock to show the hours and minutes, and then we'll make our project more complex. You should understand the basics of
/*** Calendar** Copyright (c) 2007 by Chen Yixin (Deep Space). All rights reserved* to contacts the author write to
{@link
mailto:shenkong@php.net
} * @author Chen Yixin (Deep Space) */ if (function_exists (' Date_default_timezone_set ')
Log functionality is needed in recently developed software, and one of the important features is the display of dates and times. So a search on the Internet, search to a large number of date format functions, but compared to the next, the sense of
Three kinds of insert,update,delete states in a trigger
CREATE TRIGGER tr_t_a on t_a for Insert,update,delete
if exists (select * from inserted) and NOT EXISTS (SELECT * from deleted) is an INSERT
if exists (select * from inserted) and exists
Produces 10,000 consecutive records
PRINT CONVERT (VARCHAR), GETDATE (), select id = a.id + b.id + c.id + d.id + 1from (SELECT id = 0 UNION ALL Select 1 u Nion All SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5 UNION ALL SELECT 6
This article mainly introduces the page real-time update time of the JS instance code, the need for friends can refer to the Code as follows: function StartTime () { var today = new Date (); Define date Objects var yyyy =
One of the arguments in C + + 's callback function is to return a string, as follows:
typedef void (*tdataevent) (char *adata, int ALen);
Where Char *adata returns a string from the DLL, and the memory of the string is already allocated in the DLL
Server|sql|sqlserver
In the development of database applications, often encounter problems of processing time, such as query the specified time records. Here are some common questions to combine with some of your own experience and discuss these
Method One
In general, the contraction of the SQL database does not greatly reduce the size of the database, its primary role is to shrink the log size, you should do this periodically to avoid the database log too large
1, set the database mode
Date ("Y-m-d", Time ()) gets a string of times in a particular format. Time () is a timestamp value, or it can be omitted, the default current time. You can also fill in the value.All functions in PHP are in the Unix era, starting January 1, 1970.
JS in the JSP you are writing to become a class definition. All the scriptlets you write will be placed into one of the methods of this class. Again, you can add variables and methods to declare them in this class. Of course, you can also use these
Backup | recovery | data | database
Use SQL language to implement backup/restore functions of the database
Embodies four of the knowledge points in SQL Server:
1. Get the default directory on the SQL Server server
2. Use of Backup SQL statements
server| Performance
1, in the program, to ensure that in the implementation of the function of the foundation, minimizing the number of accesses to the database, minimizing the number of accesses to the table by searching the parameters, minimising
Build the database structure:
' BBS
' Ordinal INT not NULL IDENTITY
' Author VARCHAR (80)
' Topic VARCHAR (255)
' Reply INT not NULL DEFAULT 0
' Click INT not NULL DEFAULT 0
' Time DATETIME DEFAULT GETDATE ()
' Content text
' Mail notification BIT
This article is mainly on the date of JS and access to the system of the current time is introduced, the need for friends can come to the reference, I hope to be helpful to everyone One, date objects a day object, today to see the Date object,
/**
* Authorized
*/
EXEC sp_configure ' show advanced options ', 1;
Go
Reconfigure;
Go
exec sp_configure ' xp_cmdshell ', 1;
Go
Reconfigure;
Go
/** Import a text file for a specified table.
EXEC Master.. xp_cmdshell ' bcp dbname.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service