Home
Videos uploaded by user “Tech Query Pond”
Unix tutorial : Unix Shell Script to connect Oracle database
 
05:00
Unix tutorial : Unix Shell Script to connect Oracle database This tutorial will show you how to connect oracle database using the command line in Unix. Here Unix shell scripting is used to connect the database using the sqlplus command. And you can see how to retrieve data from database using the shell script 1)Oracle tutorial : How to connect oracle database using sqlplus command line https://www.youtube.com/watch?v=N2DAK2ty8Gc 2)Job In Oracle : pl sql create job in Oracle Scheduler https://www.youtube.com/watch?v=Nwmt5S4Mod8&t=248s You can learn useful shell scripts for oracle dba oracle scripts for dba in unix oracle dba scripts Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 20035 Tech Query Pond
How to  Check or unchecked all check box using JavaScript and  html
 
02:11
This video will show you how to check or unchecked all check box using JavaScript and html #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 1834 Tech Query Pond
Job In Oracle : pl sql create job in Oracle Scheduler
 
08:09
Job In Oracle : How to Create and Run Job in Oracle Scheduler This video will show you how to Scheduling Jobs with Oracle Scheduler. pl sql create job dbms job scheduler example DBMS_SCHEDULER ---------------------- A job object (job) is a collection of metadata that describes a user-defined task that is scheduled to run one or more times. It is a combination of what needs to be executed (the action) and when (the schedule). CREATE OR REPLACE PROCEDURE myproc AS BEGIN INSERT INTO MYTEST(CREATED_ON) VALUES (sysdate); commit; END myproc; / BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name = ‘My_job’, job_type = ‘STORED_PROCEDURE’, job_action = ‘MYPROC’, start_date = ’07-AUG-16 07.00.00 PM’, repeat_interval = ‘FREQ=SECONDLY;INTERVAL=5', end_date =’20-NOV-18 07.00.00 PM’, auto_drop = FALSE, comments = ‘My new job’); END; / EXEC DBMS_SCHEDULER.ENABLE(‘My_job’); Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 15020 Tech Query Pond
Oracle tutorial : How to return multiple values from the Function in Oracle PL/SQL
 
08:49
Oracle tutorial : How to return multiple values from the Function in Oracle PLSQL pl sql function This video tutorial tell you How to return multiple rows from the Function in Oracle PLSQL Using the TYPE object you can able return multiple rows from the function.Here object concept of oracle is used. Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 5507 Tech Query Pond
Oracle tutorial : How to connect oracle database using sqlplus command line
 
02:20
Oracle tutorial: How to connect oracle database using sqlplus command line sqlplus tools to connect to oracle database In this tutorial you can see using SQLPLUS commands how we can connect the oracle database . After connecting the oracle database you can able execute the sql query.
Views: 15828 Tech Query Pond
Oracle DBA  How to create sql stored procedure Using Sqlplus
 
03:09
Oracle DBA How to create sql stored procedure Using Sqlplus sql create stored procedure sql stored procedure TO Connect Database 1) Open command Prompt. 2) SET ORACLE_SID=DATABASE NAME 3) SQLPLUS USERNAME/[email protected] CREATE OR REPLACE PROCEDURE INSERT_DATA IS SQLSTRING VARCHAR2(1000); BEGIN SQLSTRING:=’INSERT INTO EMPLOYEE_BKP(ID,NAME,CITY,SALARY,DEPT_NO) ‘; SQLSTRING:=SQLSTRING||’ SELECT ID,NAME,CITY,SALARY,DEPT_NO FROM EMPLOYEE’; EXECUTE IMMEDIATE SQLSTRING; EXCEPTION WHEN OTHERS THEN RAISE_APPLICATION_ERROR(-20001,’An error was encountered – ‘||SQLCODE||’ -ERROR- ‘||SQLERRM); END;
Views: 928 Tech Query Pond
Synonyms in Oracle PL SQL
 
03:48
Synonyms in Oracle #techquerypond sql synonyms oracle synonym what is Synonyms in Oracle ? 1)A synonym is an alternative name tO objects. 2)Objects like tables, views, sequences, stored procedures. 3)Generally we use to granting or revoking the access. 4)It means that the synonym is a public synonym and is accessible to all users. 5)Please note user must first have the appropriate privileges to access synonym. To get more information watch the above video. For example: CREATE PUBLIC SYNONYM EMP FOR EMPLOYEE; SELECT * FROM EMP; DROP PUBLIC SYNONYM EMP; https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 1194 Tech Query Pond
How to find Schema and Table Space information in MySql
 
04:53
This video will show you How to find Schema and Table Space information in MySql. #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 1473 Tech Query Pond
Oracle tutorial : How to create Id with AUTO INCREMENT in Oracle PL SQL
 
08:43
Oracle tutorial: How to create Id with AUTO INCREMENT in Oracle oracle tutorial for beginners sequence in oracle identity key in sql In this Oracle tutorial , we can create an auto increment field using ‘sequence’ object that can be assigned as primary keys. Using Oracle ‘sequence’ object, you can generate new values for a column. An Oracle sequence is an object like a table or a stored procedure. Examples CREATE SEQUENCE SYSTEM.MYSEQ START WITH 1 MAXVALUE 999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER; CREATE OR REPLACE TRIGGER TR_CITY BEFORE INSERT ON CITY FOR EACH ROW BEGIN SELECT LPAD(LTRIM(RTRIM(TO_CHAR(myseq.NEXTVAL))),10,'0') INTO :NEW.id FROM DUAL; END; / Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 8138 Tech Query Pond
how to make a graph in spreadsheet using google script
 
06:07
This video will show you how to make a graph in spreadsheet using google script bar of pie chart how to make a graph google docs generate pie chart #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 1745 Tech Query Pond
Oracle tutorial : What is Virtual column in Oracle PL SQL
 
06:54
This video will show you " Oracle tutorial: What is Virtual column in Oracle PL SQL " sql calculated field computed column oracle-11g-new-feature-virtual-column Oracle tutorial : What is Virtual column in oracle Syntax : column_name [datatype] [GENERATED ALWAYS] AS [expression] [VIRTUAL] 1)The values of the virtual column are not stored in the database. 2)You can not update the values of virtual column. 3)when you try to modify it will give oracle error. 4)These are read only values. 5)Virtual columns used in the WHERE clause of UPDATE and DELETE statement 6)Constraints can be created on them. #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1313 Tech Query Pond
Oracle tutorial : Oracle PL SQL Sqlplus DBA Commands Part 1
 
04:07
Oracle tutorial : Oracle Sqlplus DBA Commands Part 1 Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1224 Tech Query Pond
Oracle tutorial : Conversion Functions In Oracle
 
09:30
Oracle tutorial : Conversion Functions In Oracle. oracle tutorial for beginners sql convert This Oracle tutorial video will show how to use conversion function in sql oracle TO_CHAR() , TO_DATE() , TO_NUMBER() these are mostly used functions. Conversions functions are used to convert one data type to another type. 1)To_CHAR ( number | date, [fmt], [nlsparams] ) The TO_CHAR function converts the number or date to VARCHAR2 data type in the specified format (fmt). 2)TO_NUMBER( char, [‘fmt’] ) The TO_NUMBER function converts the characters to a number format. 3)TO_DATE( char, [‘fmt’] ) The TO_DATE function converts the characters to a date data type. — TO_CHAR() fmYYYY YYYY/MM/DD SELECT TO_CHAR(SYSDATE, ‘YYYY/MM/DD’) FROM DUAL; — SO USING TO_CHAR U CAN GET FORMATE OF DATE ACCORDING TO UR REQURMENTS —- $99,999 99.99 99,00 SELECT TO_CHAR(487, ‘$99,0’) FROM DUAL; — U CAN GET DATA IN CURRENCY FORMAT —- TO_NUMBER() SELECT TO_NUMBER(‘1745′,’99999’) FROM DUAL; SELECT TO_NUMBER(‘1,47,982′,’9,99,999′) FROM DUAL; —- TO_DATE() — THIS CONVERT VARCHAR DATE TO PROPER DATE FORMAT SELECT TO_DATE(’30-JAN-1995′,’DD-MON-RRRR’) FROM DUAL; For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 3590 Tech Query Pond
Oracle tutorial : Recover deleted rows in Oracle PL SQL using flashback
 
10:59
Oracle tutorial : Recover deleted rows in Oracle using flashback oracle tutorial for beginners oracle recover deleted rows In this video, we have used as of timestamp concept of oracle. Example : select * from table as of timestamp(systimestamp-interval '1'minute ) Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1487 Tech Query Pond
How to sending mass emails in gmail using google spreadsheet
 
04:59
How to sending mass emails in gmail using google spreadsheet send mass email gmail gmail bulk email sending mass emails in gmail #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 1694 Tech Query Pond
Oracle tutorial : Autonomous Transactions in Oracle 11g PL SQL-PRAGMA
 
10:40
Oracle tutorial : Autonomous Transactions in Oracle 11g PL SQL-PRAGMA What is pragma autonomous_transaction An autonomous transaction is an independent transaction to the main or parent transaction. If an Autonomous transaction is started by another transaction it is not nested, but independent of parent transaction. PRAGMA autonomous_transaction 1)In Oracle session, all of the changes made to data are part of a single transaction. 2)An autonomous transaction is an independent transaction started within another transaction (the main transaction). 3)Autonomous transactions allow you to temporarily suspend the main transaction, perform additional SQL operations, commit or rollback those operations separately, then resume the main transaction. 4)To define an autonomous transaction, we can use a PRAGMA statement PRAGMA AUTONOMOUS_TRANSACTION; CREATE TABLE log_data ( empno NUMBER(6), userid VARCHAR2(30), create_date DATE ); CREATE OR REPLACE TRIGGER add_log BEFORE INSERT OR UPDATE ON employee FOR EACH ROW DECLARE PRAGMA AUTONOMOUS_TRANSACTION; — This statement made this autonomous this trigger BEGIN INSERT INTO log_data VALUES (:new.id, USER, SYSDATE); COMMIT; END; / Insert into EMPLOYEE (ID, NAME, CITY, SALARY, DEPT_NO) Values (20, ‘MY Tech Query’, ‘Mumbai’, 20000, 1) ROLLBACK; SELECT * FROM EMPLOYEE SELECT * FROM LOG_DATA https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 2460 Tech Query Pond
Oracle tutorial : SQLPLUS COPY Command In Oracle PL SQL
 
07:29
Oracle tutorial : SQLPLUS COPY Command In Oracle PL SQL For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1064 Tech Query Pond
Unix tutorial : Unix Shell Script to read file
 
06:31
Unix tutorial : Unix Shell Script to read file Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1155 Tech Query Pond
Generating random numbers in Oracle
 
03:30
For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 521 Tech Query Pond
Oracle tutorial : Oracle DBA  How to execute sql script  using sqlplus command line
 
04:59
Oracle tutorial : Oracle DBA How to execute sql script using sqlplus command line oracle tutorial for beginners This Oracle tutorial video will show you how to run sqlplus script from command line. You can execute the script from an external file using sqlplus commands. To run a script from command line you have to path of the script file.
Views: 4171 Tech Query Pond
Oracle tutorial : Object oriented programming in Oracle PL SQL
 
07:51
Oracle tutorial : Object oriented programming in Oracle PL SQL oracle tutorial for beginners This video Oracle tutorial will tell you how to implement object oriented concept in oracle CREATE OR REPLACE TYPE MyInput AS object ( num1 NUMBER, num2 NUMBER ); CREATE OR REPLACE TYPE MyCal AS object ( mynum MyInput, member FUNCTION Plus RETURN NUMBER , member FUNCTION Sub RETURN NUMBER, member FUNCTION Mul RETURN NUMBER, member FUNCTION Div RETURN NUMBER ); / CREATE OR REPLACE TYPE BODY MyCal as member FUNCTION Plus RETURN NUMBER AS result NUMBER ; BEGIN result := mynum.num1 + mynum.num2; RETURN result; END Plus ; member FUNCTION Sub RETURN NUMBER AS result NUMBER; BEGIN result := mynum.num2 - mynum.num1; RETURN result; END Sub; member FUNCTION Mul RETURN NUMBER AS result NUMBER ; BEGIN result := mynum.num1 * mynum.num2; RETURN result; END; member FUNCTION Div RETURN NUMBER AS result NUMBER (10, 3); BEGIN result := mynum.num1 / mynum.num2 ; RETURN result; END; END ; / DECLARE obj1 MyInput := MyInput(50, 100); obj2 MyCal := MyCal(obj1); BEGIN Dbms_Output.Put_Line(obj2.Plus); Dbms_Output.Put_Line(obj2.Sub); Dbms_Output.Put_Line(obj2.Mul); Dbms_Output.Put_Line(obj2.Div); END; #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 3297 Tech Query Pond
Oracle tutorial : Oracle DBA Spool command in Oracle PL SQL
 
04:26
Oracle tutorial : Oracle DBA Spool command in Oracle PL SQL oracle tutorial for beginners linux terminal commands This video will show you how to use SPOOL command to get output in file. The SPOOL command send the output from any SQL statement to a file. spool on to 'c:\test\Myoutput.txt'; spool off; Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 2394 Tech Query Pond
Oracle tutorial : Global Temporary Table In Oracle PL SQL
 
08:49
Oracle tutorial : Global Temporary Table In Oracle PL SQL create temp table sql This video will explain to you how to create Temporary Tables in Oracle Oracle tutorial : Global Temporary Table In Oracle 1)The data in such a table is stored only as long as the session or transaction lasts and is private for each session. 2)The definition is visible to all sessions. 3)After commit or disconnection, the data is lost but the definition of the table remains. 4)Indexes created on a temporary. 5)Scope of TRUNCATE command is a single database session. There is no effect of TRUNCATE on other sessions. 6)Foreign key constraints are not applicable in case of Temporary tables 7)Temporary tables cannot contain column of persistent collection type Syntax : CREATE GLOBAL TEMPORARY TABLE table_name ( column_name column_data_type … … ) ON COMMIT DELETE ROWS; CREATE GLOBAL TEMPORARY TABLE Emp ( id number(5) NOT NULL, name varchar2(50) NOT NULL, city varchar2(50) NOT NULL ) ON COMMIT DELETE ROWS INSERT INTO Emp VALUES (1, ‘Test1’, ‘city1’); INSERT INTO Emp VALUES (2, ‘Test2’, ‘city2’); INSERT INTO Emp VALUES (3, ‘Test3’, ‘city3’); SELECT COUNT(*) FROM emp; Result = 3 rows COMMIT; SELECT COUNT(*) FROM emp; Result = 0 rows For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 3672 Tech Query Pond
Oracle tutorial : sys_refcursor  in oracle pl sql (sys_refcursor)
 
09:53
Oracle tutorial : sys_refcursor in oracle pl sql oracle tutorial for beginners cursor in pl sql we can use sys_refcursor as OUT parameter. A cursor is a pointer to a result set for a query. By returning a sys_refcursor you allow the client to fetch many rows from the query as it requires. basically we use sys ref cursor to return set of rows to client. so client can use this result set. u can fetch multiple rows. lets see example.. CREATE OR REPLACE PROCEDURE get_my_list (list OUT SYS_REFCURSOR) AS BEGIN OPEN list FOR SELECT ALTID, FNAME, LNAME FROM EMPLOYEE; END get_my_list; / DECLARE l_cursor SYS_REFCURSOR; ID VARCHAR2(20); FNAME VARCHAR2(20); LNAME VARCHAR2(20); BEGIN get_my_list (list = l_cursor); LOOP FETCH l_cursor INTO ID, FNAME, LNAME; EXIT WHEN l_cursor%NOTFOUND; DBMS_OUTPUT.PUT_LINE(ID || ' | ' || FNAME || ' | ' || LNAME); END LOOP; CLOSE l_cursor; END; / Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1755 Tech Query Pond
Oracle tutorial : Using execution plan to optimize query in oracle
 
12:54
Oracle tutorial: Explain plan for query optimization in Oracle PLSQL oracle tutorial for beginners using execution plan to optimize query sql query analyzer sql query cost analysis https://techquerypond.wordpress.com This oracle tutorial show you how to use EXPLAIN PLAN in oracle. This video covers how to check cost of the query from DBMS_XPLAN.DISPLAY . You can find the cost of the query using the Using EXPLAIN PLAN FOR and based on the result you can optimize the query for faster performance. Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://twitter.com/techquerypond
Views: 8140 Tech Query Pond
Generating random string in Oracle
 
06:05
Generating random string in Oracle About DBMS_RANDOM package The DBMS_RANDOM package will generate random data in character, numeric or alphanumeric formats. we can use this for generating the passwords also. we can generate strings in upper case, lower case or alphanumeric format. The first parameter for string type to be generated. U – Upper case L – Lower case A – Alphanumeric X – Alphanumeric with upper case alphabets. P – Printable characters only. 1)Generating an upper case string select dbms_random.string(‘U’, 10) from dual; 2)Generating a lower case string select dbms_random.string(‘L’, 10) from dual; 3)Generating an upper case alphanumeric string select dbms_random.string(‘X’, 10) from dual; 4)Generating a string of printable select dbms_random.string(‘P’, 10)from dual; For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 269 Tech Query Pond
Insert Update and Delete in MongoDB
 
08:57
Insert Update and Delete in MongoDB #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 726 Tech Query Pond
MySql Tutorial : How to take  mysql database backup using command line
 
08:55
MySql Tutorial : How to take mysql database backup using command line mysql backup script mysql tutorial for beginners This MySql Tutorial video will show you How to take backup of MySQL database using mysqldump command. You can see how to restoring a backup using the command. Example: mysql database_name database_name.sql Example: mysqldump database_name db_backup.sql #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 2021 Tech Query Pond
How to create tablespace in Oracle PL SQL
 
03:50
This video will show you "How to create tablespace in Oracle" tablespace management in oracle tablespace size in oracle oracle tutorial for beginners #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 753 Tech Query Pond
How to connect and create database in mysql using command line xampp
 
06:41
How to connect and create database in mysql using command line in xampp By following below steps you can connect / create database. Assume that you xampp install in C drive. When you open command prompt then give following path. cd xampp\mysql\bin\mysql.exe Syntax to connect database : e.g : mysql -h root -p; when you type -p then it ask for password. Syntax to create database : CREATE DATABASE TESTDB; To view list of database : SHOW DATABASES; To use specific database : USE TESTDB; To show all list of table in database : SHOW TABLES; Syntax to create new table : CREATE TABLE Persons ( PersonID int, LastName varchar(255), FirstName varchar(255), Address varchar(255), City varchar(255) ); #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 3720 Tech Query Pond
Create Database in MongoDB
 
10:17
Create Database in MongoDB MongoDB Tutorial This video will show you how to create a database in MongoDB mongodb query mongodb commands mongodb create database
Views: 6019 Tech Query Pond
Write Data into file In PHP
 
03:05
Write Data into file In PHP #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 89 Tech Query Pond
Oracle tutorial : Exception Handling In Oracle PL SQL
 
13:21
Oracle tutorial : Exception Handling In Oracle PL SQL pl sql exception no data found pl sql select no data found oracle trigger exception pl sql exception handling best practice CREATE OR REPLACE PROCEDURE ORA_EXCE_HANDLING IS MYQUERY VARCHAR2(100); STR_ID VARCHAR2(10); BEGIN MYQUERY:='SELECT ID FROM MYDEV.EMPLOYEE111 WHERE ID=''1'''; DBMS_OUTPUT.PUT_LINE('QUERY '||MYQUERY); BEGIN EXECUTE IMMEDIATE MYQUERY INTO STR_ID; EXCEPTION WHEN NO_DATA_FOUND THEN DBMS_OUTPUT.PUT_LINE('EXCEPTION CAPTURE.'); WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('OTHER EXCEPTION IS CAPTURE HERE :'||SQLERRM); END; DBMS_OUTPUT.PUT_LINE('EMPLOYEE ID '||STR_ID); END; #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 861 Tech Query Pond
Decode in Oracle PL SQL
 
07:25
Decode in Oracle PL SQL #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 283 Tech Query Pond
Oracle tutorial : Pivot In Oracle PL SQL
 
09:06
Oracle tutorial : Pivot In Oracle PL SQL This tutorial will explain you how to use PIVOT clause in oracle. It will show you how oracle convert rows to columns dynamically oracle pivot multiple columns example of pivot table #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 4159 Tech Query Pond
Oracle tutorial : Grant Revoke In Oracle
 
13:32
Oracle tutorial : Grant Revoke In Oracle we can GRANT and REVOKE privileges on various database objects in Oracle. Example : on Tables ,functions ,procedures etc. Syntax : GRANT privileges ON object TO user; example : GRANT SELECT, INSERT, UPDATE, DELETE ON TEST TO MYDEV; or GRANT ALL ON TEST TO MYDEV; REVOKE PRIVILEGES ON TABLE Syntax : REVOKE privileges ON object FROM user; REVOKE DELETE ON TEST FROM MYDEV; REVOKE ALL ON TEST FROM MYDEV; For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1203 Tech Query Pond
How to write query in Google Spreadsheet or Excel
 
08:01
This video will Show You "How to write query in Google Spreadsheet or Excel". google sheets relational database using a spreadsheet as a databas #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 541 Tech Query Pond
Function In Oracle PL SQL
 
07:49
Function In Oracle 1)A stored / user defined function is a set of PLSQL statements you can call by name. 2)Stored functions are very similar to procedures. 3)function always return a value. 4)User functions can be used as part of a SQL expression. Parameters to Function : a)IN Parameters b)OUT Parameters c)IN OUT Parameters Create Function : CREATE OR REPLACE FUNCTION FIND_AGE ( EMP_ID IN VARCHAR2 ) RETURN NUMBER IS EMP_AGE NUMBER; SQLSTRING VARCHAR2(4000); BEGIN SQLSTRING:=’SELECT AGE FROM EMPLOYEE WHERE EMP_ID=’||EMP_ID; EXECUTE IMMEDIATE SQLSTRING INTO EMP_AGE; RETURN EMP_AGE; EXCEPTION WHEN OTHERS THEN RAISE_APPLICATION_ERROR(-20001,’Error in Find Age function – ‘||SQLCODE||’ -ERROR- ‘||SQLERRM); END; Call Function : SELECT FIND_AGE('1') FROM DUAL DROP FUNCTION : Syntax : DROP FUNCTION function_name; DROP FUNCTION FIND_AGE; #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 162 Tech Query Pond
Create new user in Oracle PL SQL
 
05:12
Create new user in Oracle PL SQL Oracle tutorial : How to Create New User in Oracle CREATE USER user_name IDENTIFIED BY password DEFAULT TABLESPACE tablespace_name QUOTA 20M on tablespace_name; Grant Create session Command to new user: GRANT CREATE SESSION TO user; How to Drop New User: DROP USER username CASCADE; #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 272 Tech Query Pond
Foreign Key in Oracle
 
07:00
Foreign Key in Oracle oracle foreign key WHAT IS A FOREIGN KEY IN ORACLE? 1)A foreign key is a use to make referential integrity in database. 2)Foreign key values in one table must also appear in another table also. 3)The referenced table is called the parent table. 4)Table with the foreign key is called the child table. 5)The foreign key generally reference a primary key in the parent table. CREATE TABLE DEPT --- parent table ( DEPT_ID NUMERIC(10) NOT NULL, EMP_ID NUMERIC(10) NOT NULL, CONSTRAINT DEP_PK PRIMARY KEY (DEPT_ID) ); CREATE TABLE EMPLOYEE -- child table ( EMP_ID NUMERIC(10) NOT NULL, NAME VARCHAR2(50) NOT NULL, CITY VARCHAR2(50), DEPT_NO NUMERIC(10), CONSTRAINT ID_PK PRIMARY KEY (EMP_ID), CONSTRAINT FK_DEP FOREIGN KEY (DEPT_NO) REFERENCES DEPT(DEPT_ID) ); #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 389 Tech Query Pond
Oracle tutorial : With Clause In Oracle
 
12:51
This oracle video will show you how to use With Clause In Oracle PL SQL. with in pl sql oracle tutorial for beginners With clause is used to simplify the complex sql queries. By using the with clause you can get faster query performance. You can simplify the complex subquery logic. WITH clause is called subquery factoring. For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 8199 Tech Query Pond
Oracle tutorial : Pseudo columns in Oracle PL SQL (pseudo column)
 
07:56
Oracle tutorial : Pseudo columns in Oracle PL SQL ( pseudocolumn ) oracle tutorial for beginners rownum in oracle This video will show you what is Pseudo columns in Oracle PL SQL. Pseudo columns are likes ROWNUM, ROENUM, ROWID, NEXTVAL,SYSDTAE , USER etc. pseudocolumn examples Oracle tutorial : Pseudo columns in oracle Oracle supports several special-purpose data elements that are not actually contained in a table, but are available for use in SQL statements. Here is a partial list of pseudo-columns in Oracle a)CURRVAL : When using Oracle SEQUENCE values, the pseudo-column CURRVAL returns the current value of the sequence. for example: schema.sequence_name.CURRVAL b)NEXTVAL :When using Oracle SEQUENCE values, the pseudo-column NEXTVAL returns the next value of the sequence and causes the sequence to increment by one. for example: schema.sequence_name.NEXTVAL c)ROWNUM:ROWNUM returns a number indicating the order in which a row was selected from a table. d)ROWID: ROWID returns the rowid (binary address) of a row in a database table. e)USER :This pseudo-column will always contain the Oracle username under which you are connected to the database. f)SYSDATE:This pseudo-column will contain the current date and time. This column is a standard Oracle DATE datatype. The value represents the current time on the server not the client. For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1319 Tech Query Pond
Oracle tutorial : Collection in Oracle PL SQL -  Varray
 
06:57
Oracle tutorial : Collection in Oracle PL SQL Varray . oracle tutorial for beginners 1)Varray provide feature of data structure in Oracle. 2)It can store a fixed-size sequential collection of elements of the same type. 3)This is used to store the ordered collection of data. 4)According to its structure the varray consist of contiguous memory locations. 5)The address is start from lowest to highest. 6)It start to store element from lowest address to highest address. 7)The starting index for varray is 1. 8)This is an one-dimensional array. Syntax : CREATE OR REPLACE TYPE varray_type_name IS VARRAY(n) of element_type DECLARE CURSOR cur_employee is SELECT NAME FROM employee; type emp_list is varray (10) of employee.name%type; empname_list emp_list := emp_list(); mycount integer :=0; BEGIN FOR i IN cur_employee LOOP mycount := mycount + 1; empname_list.extend; empname_list(mycount) := i.name; dbms_output.put_line('Employee Nane -'||empname_list(mycount)); END LOOP; END; / https://techquerypond.com , https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1407 Tech Query Pond
Case In Oracle PL SQL
 
04:34
Case In Oracle PL SQL #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 49 Tech Query Pond
How to create Temporary Table in MySql
 
08:17
This video will show you How to create Temporary Table in MySQL. mysql create temporary table mysql tutorial for beginners #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 5232 Tech Query Pond
GET and POST Method in PHP
 
05:14
GET and POST Method in PHP #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 211 Tech Query Pond
Mysql Tutorial: Create function example
 
05:59
Mysql Tutorial: Create function example This video will show you how to create and how to call function in MySQL database. MySQL stored function always return the value. #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 9676 Tech Query Pond
Oracle tutorial : Bulk Collect In Oracle PL SQL
 
09:59
Oracle tutorial : Bulk Collect In Oracle PL SQL oracle tutorial for beginners This Oracle tutorial video will show you how to use bulk collect in oracle. you can see how BULK COLLECT and FORALL concept is used. Bulk collect will improve the query performance. It avoids the context switching between SQL engine and plsql engine Bulk Collect In Oracle 1)When the PL/SQL runtime engine processes a block of code, it executes the procedural statements within its own engine, but passes the SQL statements on to the SQL engine. 2)The SQL layer executes the SQL statements and then returns information to the PL/SQL engine. 3)This transfer of control between the PL/SQL and SQL engines is called a context switch.Each time a switch occurs, there is additional overhead. 4)There are a number of scenarios in which many switches occur and performance degrades. 5)To Improve the performance we use the bulk collect. For more tutorial please visit #techquerypond https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 2170 Tech Query Pond
PHP Tutorials:How to call PHP function from javascript in php
 
03:43
This video will show you How to call PHP function from javascript in php. You can see how php execute function on button click PHP Tutorials for beginners. You can see how server side php function call by using client side JavaScript code #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 41375 Tech Query Pond
Primary key in Oracle
 
06:32
Primary key in Oracle what is primary key ? 1) Primary key is a single field or combination of fields that uniquely identified. 2)The primary key can not contain a null value. 3)A table can have only one primary key. 4)Primary keys must contain UNIQUE values. 5)Table can have only ONE primary key. CREATE TABLE Employee ( emp_id numeric(10) not null, name varchar2(50) not null, city varchar2(50), CONSTRAINT id_pk PRIMARY KEY (emp_id) ); Other option to Add ALTER TABLE Employee ADD CONSTRAINT id_pk PRIMARY KEY (emp_id); The syntax to drop a primary key : ALTER TABLE Employee DROP CONSTRAINT id_pk; #techquerypond https://techquerypond.wordpress.com https://techquerypond.com https://twitter.com/techquerypond
Views: 169 Tech Query Pond