Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle simple quote

SELECT 'Simple quote''' FROM dual;		-- Simple quote'
SELECT '''Simple quote''' FROM dual;	-- 'Simple quote'
SELECT q'['Simple quote']' from dual;	-- 'Simple quote'  q'[my_string]'

s_date VARCHAR2(10 BYTE) := '12/02/2021';
EXECUTE IMMEDIATE 'SELECT to_date(''' || s_date || ''', ''DD/MM/YYYY'') FROM dual';
Comment

PREVIOUS NEXT
Code Example
Sql :: databricks install odbc driver connect to sql server 
Sql :: how to run sql server on mac 
Sql :: mysql case when in select 
Sql :: select true if exists on another table or false sqlserver 
Sql :: sql server create database 
Sql :: sql power function 
Sql :: mql5 datetime get hour 
Sql :: postgresql function round 
Sql :: there is no unique constraint matching given keys for referenced table 
Sql :: get triggers by query 
Sql :: postgres how to add field created at 
Sql :: sql restore backup query 
Sql :: postgres get number of days between two dates 
Sql :: distinct in sql server 
Sql :: oracle create tablespace autoextend 
Sql :: like in postgresql 
Sql :: add week ending date sql server 
Sql :: postgres parent and child tables 
Sql :: mysql datetime format 
Sql :: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: 
Sql :: create table postgresql 
Sql :: PostgreSQL: To_Number function 
Sql :: json not contains mysql 
Sql :: SELECT DISTINCT on one column, with multiple columns returned, ms access query 
Sql :: psql show db 
Sql :: max length found in mysql 
Sql :: date in mysql 
Sql :: date less than in sql 
Sql :: mysql order by on condition 
Sql :: get only one row in mysql 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =