Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This category lists all questions related to Oracle SQL database
How to check whether partitioning enabled or not in my database ?
we need to execute this select statement to check select * from v$option where parameter = 'Partitioning'; PARAMETER VALUE Partitioning TRUE
we need to execute this select statement to check
how to concatenate two string or two values in oracle sql ?
It is ||, for example: select 'Mr ' || emp_name from employees; or concatenate two column values by : select first_name || '-' || last_namefrom employees;
It is ||, for example:
or concatenate two column values by :
See lesshow to Order by string in SQL ?
In standard SQL, you need a case statement Select * From people ORDER BY (case when names = 'john' then 1 when names = 'steve' then 2 when names = 'bob' then 3 when names = 'bill' then 4 else 5 ); You can find this article helpful for you in case you are using Oracle database: Oracle Case StatementRead more
In standard SQL, you need a
case
statementYou can find this article helpful for you in case you are using Oracle database:
Oracle Case Statement : (Simple Case, Searched Case)
Some SQL engines have shortcuts to this, but you don’t mention which database you are using.
See lessFor instance, in MySQL you can do: