Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 25 maj 2011 · Two options: Use the LIKE keyword, along with percent signs in the string. select * from table where field like '%a%' or field like '%b%'. (note: If your search string contains percent signs, you'll need to escape them)

  2. I've been trying to figure out how I can make a query with MySQL that checks if the value (string $haystack) in a certain column contains certain data (string $needle), like this: SELECT * FROM `table` WHERE `column`.contains('{$needle}')

  3. 9 lut 2024 · SQL CONTAINS is used for full-text searches, allowing you to query databases for specific words, phrases, or patterns within text data. It's particularly useful for finding specific information in large text fields where the exact location of the data isn't known in advance.

  4. 23 mar 2023 · This article showed you how to locate a substring in a string in SQL using both MySQL and SQL Server. CHARINDEX() and PATINDEX() are the functions with which you can search for a substring in a string inside SQL Server. PATINDEX() is more powerful because it lets you use regular expressions.

  5. 14 mar 2014 · AGAINST syntax. MATCH () takes a comma-separated list that names the columns to be searched. AGAINST takes a string to search for, and an optional modifier that indicates what type of search to perform. The search string must be a string value that is constant during query evaluation.

  6. Unlike a stored procedure, you can use a stored function in SQL statements wherever you use an expression. This enhances the readability and maintainability of the procedural code. To create a stored function, you use the CREATE FUNCTION statement. The following illustrates the basic syntax for creating a new stored function:

  7. Base-64 encoded strings can be decoded using the FROM_BASE64() function. mysql> SELECT TO_BASE64('abc'), FROM_BASE64(TO_BASE64('abc')); -> 'JWJj', 'abc' Different base-64 encoding schemes exist. These are the encoding and decoding rules used by TO_BASE64() and FROM_BASE64():

  1. Ludzie szukają również