SQL Server BI step with step SSIS 7 (end)-transaction, error output, event handling, logging
As with other programs, SSIS packages need to be robust and stable to run, and such programs are reliable and scalable. SSIS provides support for the
Be particularly careful about issues that are not easy to notice when converting Oracle queries to SQL Server. T-SQL, as we know, is the language engine of Plsql, and Oracle's language engine is. Both of these query languages extend the ANSI SQL-92
Page Dynamic display time changes in a number of ways, this article for you to use JavaScript specific implementation, interested friends do not miss The code is as follows:
MS SQL Server logs grow very fast, after a long time, log files will be large, take up a lot of hard disk space, so you need to periodically clear the log, you can use the following four ways:
Method One:
1, open Query Analyzer, input command
server| Data | database
Usually, you need to get the current date and calculate some other date, for example, your program may need to judge the first or last day of one months.
Most of you probably know how to split dates (year, month, day, etc.),
million calendar, we must be familiar with it, the following is a calendar example using jquery, like friends can refer to the following The code is as follows:
1, Mktime () function:
The UNIX timestamp is returned based on the batch parameter, which needs to be formatted with the date () function to output the date and time.
Example: Use the Mktime () function to get the current time of the system
echo
1, isnull (); function
In SQL Server, you often encounter fields that are null, and you can use the IsNull () function to make judgments; eg:
Select IsNull (table_column, ' Test ') as column from Table
This statement means that the field
server|sqlserver| Data | database | database structure
The database structure in the process of development will inevitably require repeated modifications. The most troublesome situation is that the developer database structure has been modified,
Solution | Question 1. How to minimize, Maximize, close windows
Answer:
2. How to Still page cache
Answer: HTM Web page
or
ASP Web page
Response.expires=-1
Response.expiresabsolute=now ()-1
Response.cachecontrol= "No-cache"
PHP Web
On the internet often turn, often see some people in order to get some SQL statements and the burn, now I particularly own collection of some of the more refined code of SQL out and share with you
1. Row and column conversion--ordinary
Suppose
PHP has a series of date and time functions, which facilitates you to get time information that you can convert into the format you want and use to calculate or present to your users. But if you want to implement some complex functionality, things
Compare | index | Index In fact, you can interpret an index as a special directory. Microsoft's SQL Server provides two indexes: a clustered index (clustered index, also known as a clustered, clustered index) and a nonclustered index (nonclustered
I got a question from a friend today, SQL Server Report "because there is not enough disk space in filegroup ' DEFAULT ' to allocate a new page for database ' tempdb ', you should have insufficient tempdb space to view the tempdb corresponding
server| optimization
In the actual work, especially in the production environment, the optimization of SQL statements is very important, and it also plays a significant role in improving the performance of the database. We are always complaining
According to the ID number coding rules to verify its validity, the specific implementation of the following, you can refer to the following The following is based on the ID card number coding rules, use JS to validate the code Idcard-validate.
Customize a backup script based on your environment!
Description
How to use: Exec master.dbo.fullbackup1 ' s:\backup ', ' Suzhou ', ' full '
0. Backup type can only be full, diff or log, database name cannot be empty
1. Record each backup by
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.