Connection of strings in SQLite

Source: Internet
Author: User
A website for friends. The database uses SQLite to writeProgramFor characters such as delimiter,

So I used SQL statements to update images without a suffix at one time. An error occurred while using the MSSQL method. I searched the internet. The original connection string in SQLite was used |, which is a strange symbol, the update statement is as follows:

Update Product Set Proimage = Proimage | ' . Jpg '   Where Proimage Not   Like   ' 2.16.jpg '

We also found a very interesting one. When the database stores 201002151259 characters without a suffix, the front-end will be taken out and displayed in the IMG tag. In Chrome, the image can be normally previewed, the following HTML tags:

< IMG SRC = 'Upload/123' />

Above htmlCodeThe image can be normally seen in chrome, but not in other browsers.

 

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.