Null: Unknown data
Null: any operation that has null is null, except the following:
When set ansi_null of: null = NULL, the result is true.
Set concat_null_yields_null off: NULL is treated as a null string (however, if all the
(i)SET Ansi_nulls {on | OFF}Specifies the SQL-92 compliance behavior of these operators when using the Equals (=) and not equal (<>) comparison operators on null values.NotesThe SQL-92 standard requires a value of equal to (=) or Not equal to (<>)
--Connect remote SQL or insert data with OPENROWSET--if only temporary access, you can directly use OPENROWSET--Query ExampleSelect * from OpenRowset('SQLOLEDB','SQL Server name';'User name';'Password', database name. dbo. Table name)--Import
From:https://www.cnblogs.com/railgunman/archive/2010/12/25/1916780.htmlConnect remote SQL or insert data with OPENROWSET--if it's just temporary access, you can use OPENROWSET directly--query ExampleSELECT * FROM OPENROWSET (' SQLOLEDB ', ' SQL
SQL Server connections across serversConnect remote SQL or insert data with OPENROWSET--if it's just temporary access, you can use OPENROWSET directly--query ExampleSELECT * FROM OPENROWSET (' SQLOLEDB ', ' SQL Server name '; ' User name '; '
Home
All articles
Information
Web
Architecture
Basic technology
Books
Tutorial
I want to contribute
More channels»
-Navigation Bar-HomeAll articlesInformationWebArchitectureBasic technologyBooksTutorialI want to contributeMore
SQL Authoring Specification
1. Basic SQL Authoring Specification
(1) Direct use of table names in rule 1:sql, no schema as prefix, and cross schema access to create synonym (Data Warehouse, CRM database not applicable).
(2) Rule 2: You must use
StatusBITs, some of which can be set by using alter DatabaseAs noted:
1 =Autoclose(Alter database)
4 =Select into/bulkcopy(Alter database using set recovery)
8 =Trunc. Log On chkpt(Alter database using set recovery)
16 =Torn page Detection(Alter
The data does not say whether you are working on programming or are not going to learn SQL, but virtually every developer will eventually encounter it. You probably don't have to be responsible for creating and maintaining a database, but you should
Transferred from: Http://blog.163.com/[email protected]/blog/static/285720652010950921286/7. Data typeIn database theory, the two parts of relational model and data type are orthogonal (see the 8th section of "The path of Programmer's cultivation"
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.