Posts

Showing posts with the label Oracle

Featured Post

How to Work With Tuple in Python

Image
Tuple in python is one of the streaming datasets. The other streaming datasets are List and Dictionary. Operations that you can perform on it are shown here for your reference. Writing tuple is easy. It has values of comma separated, and enclosed with parenthesis '()'. The values in the tuple are immutable, which means you cannot replace with new values. #1. How to create a tuple Code: my_tuple=(1,2,3,4,5) print(my_tuple) Output: (1, 2, 3, 4, 5) ** Process exited - Return Code: 0 ** Press Enter to exit terminal #2. How to read tuple values Code: print(my_tuple[0]) Output: 1 ** Process exited - Return Code: 0 ** Press Enter to exit terminal #3. How to add two tuples Code: a=(1,6,7,8) c=(3,4,5,6,7,8) d=print(a+c) Output: (1, 6, 7, 8, 3, 4, 5, 6, 7, 8) ** Process exited - Return Code: 0 ** Press Enter to exit terminal #4.  How to count tuple values Here the count is not counting values; count the repetition of a given value. Code: sample=(1, 6, 7, 8, 3, 4, 5, 6, 7, 8) print(sample

How I Resolved ORA Invalid Number Error

Image
While executing SQL query in Oracle SQL developer, I got an error that  01722 - ORA Invalid number.  Here, I have shared an example and resolution for this error. Initially, I did not understand why I got the error. Later, I did query analysis manually and identified the issue. Below, you will find the error and resolution for it. SQL Query executed Create table create table my_hr ( name char(20), pay_id number, user_id char(6) ); create table my_dept ( name char(20), user_id char(6) ); Insert values insert into my_hr values ('Srini', 567, '123456'); insert into my_dept values ('Srini',  '123456'); Select query select * from my_hr a, my_dept b where name = 'Srini' and pay_id='123456' and a.user_id = b.user_id; Now, I got ORA-01722 invalid number error. I have then corrected the value for pay_id. Fix for the error Below is the modified SQL query.  The correction is - removed single quotes for pay_id. select * from my_hr a, my_dept b where

4 Built-in functions in SQL Explained Superbly

Image
Here're four types of built-in functions in SQL. You don't need to create these functions, and these come with your SQL. I am discussing today the  SQL functions List . SQL functions DATE-TIME functions Numeric functions Char functions Null-related functions 1. DATE-TIME functions   These are useful to get DATE and Time. Also, you can covert the DATE and TIME to Char. These are TO_CHAR, CURRENT_DATE, and CURRENT_TIME. 2. Numeric Functions   These functions you can use for numeric calculations. Those are TRUNC, SIGN, ROUND, ABS. 3. Char Functions   To handle string-related tasks you can use CHAR functions. The CHAR functions are like SUBSTR, CONCAT, LENGTH. 4. NULL related functions   To handle null values you can use different functions. Those are COALESCE, NVL, NULLIF This post covered all your answers for the SQL functions list, SQL built-in functions in Oracle, and SQL functions in any DBMS. Also, Read SQL tips to improve Query performance Summar

Hyperion: How to Learn as Alternative for Mainframe

Image
Oracle Hyperion is a reporting tool. Its applications are Capital management, Asset planning, Workforce planning and more. Photo Credit: Srini Books to Read on Hyperion The Oracle Hyperion Financial Reporting 11 covers all basics to learn financial reporting using Hyperion tool. The popular contents are Explore Grids and the Point of View Create Functions and Formulas Master Conditional Formatting and Conditional Suppression Create Dynamic Books and Batches Import Reporting Content into MS Office with Oracle Smart View

Oracle fFlash Storage and its Top Features

Image
ORACLE flash storage is faster than other storage systems. This post tells why flash storage you need and the special features of flash storage from oracle. Customers today are facing a triad of issues requiring higher performance from their storage systems such as More server and application virtualization, Faster servers and scale-out applications and Latency-sensitive applications. Flash storage is seen as the solution to these issues because it delivers the desired higher performance.  But does all of your data need flash media?  What if there were “a smart and self-optimizing” storage system that automatically moves data across different media depending not only on frequency of usage, but also on the application’s performance requirements, media cost, and business value? Introducing Oracle FS1 Flash Storage System. How is Oracle FS1 Flash Storage System Different? Oracle FS1 intelligently delivers flash performance when you need it and reduces costs by moving data

Oracle Hyperion Reporting Basic Tutorial

Image
Interactive Reporting is an extremely robust and powerful business intelligence tool providing ad-hoc querying, data analysis, dashboards, and other reporting capabilities. Oracle Hyperion Financial Management Business analysts access the software through the EPM Workspace, a central location for viewing and managing content across all of the Hyperion products. The product is extremely flexible and provides analysts with the ability to quickly analyze data and produce deliverables. The software provides a consistent platform for managing content, where documents can be customized, saved, and shared across an organization. What is BQY When working with Interactive Reporting, it is hard to escape the term BQY. BQY or BrioQuery, is the extension given to all Interactive Reporting document files. Developers create BQY files using the Workspace, Interactive Reporting Web Client, or Interactive Reporting Studio—a developer tool used to create and manage BQY documents outside