vs2012,vs2013 new Lightweight database localdb, with this, developers will no longer have to install a large SQL Server, can easily test running small projects, since it is a lightweight database, it abandoned a large body, of course, will also be
What is a collation (collation) About the SQL Server collation, it is estimated that everyone is not unfamiliar, when creating a database we often have to choose a collation (conllation), generally we will notice that each language collation has
CAST and CONVERTExplicitly converts an expression of a data type to another data type. CAST and CONVERT provide similar functionality.GrammarUsing CAST:CAST ( expression AS data_type )Using CONVERT:CONVERT
Original: http://www.2cto.com/database/201310/250880.htmlSQL cast and CONVERT usage detailed Summary: The following applies only to Mysqlselect {fn CONCAT (CONVERT (User_id,char), user_name)} as Str from T_SYS_ User following this applies only to
On weekdays in the online bubble will always see a variety of beautiful pictures, good pictures, this time the right key to save is the choice of two, some exquisite large figure is often directly set to Windows 7 background desktop map. As time
First, the example introductionis the SQL statement case-insensitive? Let's take a look at the following example:Cases:--Create the table and insert the data:Declare @maco table (number Int,myvalue varchar (2)) insert into @maco Select 1, ' AA '
1. Show CHARACTER set shows all available character sets' UTF8 ' ; +---------+---------------+-------------------+--------+| Charset | Description | Default Collation | MaxLen |+---------+---------------+-------------------+--------+| UTF8 | utf-83 |
# Go to repeating fields#select distinct name,address from student# column Operations#select name, age+1 as age from student# NULL operation#select ifnull (address,0) + 1 as address from student# string Addition#select concat (address, ' str ') as
Reprint Address: http://www.2cto.com/database/201212/175541.htmlMySQL Character set support (Character set supports) has two aspects: Character set (Character set) and Sort method (Collation). www.2cto.com support for character sets is
Database garbled problem mainly because the character set is a problem!1, in the database by viewing the configured character set:The character sets that the database can set are:Mysql> show Character set;+----------+-----------------------------+---
Balanced data
The fixed-length or variable-length string can be used for string type data. The difference is that a string of the fixed length is filled with spaces to the right to ensure the same number of bytes. The variable-length string does not
I. First, PHP webpage code
1. The php file encoding should match the webpage encoding.
A. if you want to use gb2312 encoding, php needs to output the header ("Content-Type: text/html; charset = gb2312") and add it to the static page, the encoding
In-depth understanding of mysql Data Transmission coding principles, in-depth understanding of mysql
I. Basic concepts (Here we reference http://www.laruence.com/2008/01/05/12.html)
1. Given a series of characters, assign a value to each character
It perfectly solves PHP Chinese garbled characters. PHP Chinese garbled characters are generally character sets. encoding mainly involves the following issues. I. first, PHP webpage encoding 1. PHP file encoding should match webpage encoding a. If
Mysql encoding is added to my. ini, and sometimes not used.
[Mysqld]
Default-storage-engine = MyISAM
Default-character-set = utf8
Default-collation = utf8_general_ci
View character encoding
Show variables like 'character % ';
Single Character
This article mainly introduces some solutions for MySQL Chinese garbled text. This article also analyzes the causes of MySQL Chinese garbled text. if you need a friend, refer to our own encouragement of mysql, this problem is inevitable: garbled
Basic mysql operations,
I. Basic operations
After connecting to Mysql, add a semicolon (;) to the end of an SQL statement.
Create a database
# When creating data, you can add a back quotation mark (a key on the TAB key) before and after the
Recently, in the MySQL database used by the project team, garbled characters are inserted into the data. We have summarized this issue, starting from the most basic point, to the deep-seated problem
Recently, in the MySQL database used by the
This article introduces the performance comparison and analysis of char and varchar data in mssqlserver. The detailed examples are used to illustrate the relationship between the two. For more information, see.
This article introduces the
index.php title and alert display is all garbled, but the form submitted to the database and pull out from the database is not garbled, because the index.php file encoding is not gb2312, with the EditPlus open save file format encoding default to
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.