Home
Search results “Oracle invalid objects count”
SQL Error ORA-00942 Table or View Does Not Exist in Oracle Database
 
05:03
How to use Tab View (Data Dictionary) of Oracle Database to solve the SQL Error ORA-00942 Table or View Does Not Exist error in Oracle Database ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/ora-00942 Previous Tutorial ► ------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! ------------------------------------------------------------------------- ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ ___Facebook Official Page of Manish Sharma___ https://www.facebook.com/TheRebellionRider/ ___Facebook Official Page of RebellionRider.com___ https://www.facebook.com/RebellionRider.official/ You can also Email me at for E-mail address please check the About section Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 6501 Manish Sharma
SQL Server - Fix Error - Msg 208 Invalid object name
 
00:28
More info http://howtodomssqlcsharpexcelaccess.blogspot.ca/2016/10/sql-server-fix-error-msg-208-invalid.html
Views: 11955 Vis Dotnet
TSQL: How To Find Invalid Dates
 
04:54
I would highly suggest tools like C# or PowerShell, as they have higher accuracy.
Views: 321 SQLInSix Minutes
Oracle 12c new feature READ object Privilege READ ANY TABLE System Privilege
 
08:31
Oracle 12c new feature READ object Privilege READ ANY TABLE System Privilege
Views: 119 Siva Academy
RECOVER LOST  DataFile in oracle database
 
15:33
Please donate on below link if you think I am helping you with your career. https://www.paypal.me/ankushthavali OR Google Pay : 9960262955 OR Account No : 31347845762 IFSC: SBIN0012311 DATAFILE file Lost ================================ Archive log mode-Enabled create tablespace test_ts datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' size 10M; create table testtable (id number(5))tablespace test_ts; insert into testtable (id) select * from testtable; SQL>select count(*) from testtable; COUNT(*) ---------- - before deleting datafile 524288 SQL>select count(*) from testtable; COUNT(*) ---------- - After recovery 524288 select tablespace_name, segment_name from dba_segments where segment_name = 'TESTTABLE'; alter system flush buffer_cache; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' offline drop; alter database create datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' as '/u01/app/oracle/oradata/testdb/ts_test02.dbf' recover datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf'; alter database datafile '/u01/app/oracle/oradata/testdb/ts_test02.dbf' online; select count(*) from TESTTABLE; =================================================== Please like,subscribe my channel. Kindly contact for online training on below contacts. Emai: [email protected] Mob No: +91 9960262955 ====================================================== Hi Folks, Greetings!! I am professional part time oracle dba trainer and having good experience in oracle database administration. This is the right place to enroll yourself for Oracle DBA real time course. Please use following email ID for more details. Don’t hesitate to WhatsApp me any time. I will give you the best training and will create path to get DBA job easily. Enjoy the free YouTube video and connect with me for deep Oracle DBA knowledge. Mobile No : + 91 9960262955 (WhatsApp Number) EmailID: [email protected] how to recover lost datafile in oracle how to recover a datafile in oracle without backup how to recover a deleted datafile in oracle 11g how to recover datafile in oracle rman restore datafile oracle missing datafile after clone how to recover system datafile in oracle without backup oracle datafile deleted accidentally
Views: 1092 ANKUSH THAVALI
Table Shrinking in Oracle Database
 
14:15
1.Shrink the Table: Shrinking is started from 10g. In this method I’m using user u1 and table name sm1. Now I’m deleting some rows in sm1 COUNT ---------- 1048576 Table sm1 has 1048576 rows. [email protected]: delete from sm1 where deptno=10; 262144 rows deleted. I deleted above number of rows. Rows COUNT ---------- 786432 And I’m giving commit [email protected]: commit; Commit complete. So now we have 786432 rows in sm1 table. Now see the following command [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ------ ---------- ---------- U1 U1TS SM1 TABLE 29 mb 3712 44 After I deleted some rows in sm1 table still above result showing same values, so now our duty is shrink this table. This is done by following 2 ways, i By using COMPACT key word: In this method shrinking is done in two phases. In the first phase all fragmented space are just defragmented, but still the High Water Mark is persist with last used block only. That mean used free blocks are not de allocated and HWM is not updated here. Issue the following command before use shrink command. [email protected] alter table sm1 enable row movement; Table altered. There is particular use with above command, when we shrink the table all rows are moves to contiguous blocks, so here row movement should be done. By default the row movement is disabled for any table, so above command enabled the row movement. Then execute shrink command now. [email protected]: alter table sm1 shrink space compact; Table altered. Now see the space of table by using below command. [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ------ ---------- ---------- U1 U1TS SM1 TABLE 29 mb 3712 44 So here seems nothing happened with above shrink command, but internally the fragmented space is defragmented. But the high water mark is not updated, used free blocks are also not de allocated. For de allocating the used blocks we have to execute below command. This is the second phase. [email protected]: alter table sm1 shrink space; Table altered. Now see the space by using below command. [email protected]: select OWNER,TABLESPACE_NAME,SEGMENT_NAME,SEGMENT_TYPE,BYTES/1024/1024||' mb'"space",BLOCKS,EXTENTS from dba_segments where tablespace_name like 'U%TS'; OWNER TABLESPACE_NAME SEGMENT_NAME SEGMENT_TYPE space BLOCKS EXTENTS ----- --------------- ------------- ------------- ---------- ---------- ---------- U1 U1TS SM1 TABLE 20.8125 mb 2664 36 So now the space of sm1 table is reduced. Note: Actually the alter table sm1 shrink space command will complete these two phases of the shrinking of table at a time. But here we done shrink process in two phases because when we use alter table sm1 shrink space command the table locked temporarily some time period, during this period users unable to access the table. So if we use alter table sm1 shrink space compact command the table is not locked but space is defragmented. When we not in business hours issue the second phase shrink command then users are won’t get any problem. ii Because of above method the table dependent objects are goes to invalid state, to overcome this problem we have to use below command. [email protected]: alter table sm1 shrink space cascade; Table altered. The above command also shrinks the space of all dependent objects. We also do this in two phases like above two phases. See the below command. [email protected]: alter table sm1 shrink space compact cascade; Table altered. And then [email protected]: alter table sm1 shrink space cascade; Table altered. Transporting tablespace to different platform by Using RMAN : https://www.youtube.com/watch?v=CN401PUKK4A Oracle EBS apps Upgrade from 12 2 to 12 2 5 (start CD 51) : https://www.youtube.com/watch?v=zeO4goqR70Y Transport tablespace by using RMAN.: https://www.youtube.com/watch?v=YG6kWX7Par8
Views: 6770 BhagyaRaj Katta
Count Total Number Of Column From Sql Syntax Error Dump Data By Ali Khan
 
10:08
Asalam O Walikum Here Ali Khan (Devil Killer) Count Total Numbers Of Column From Sql Syntax Error Learning Practice Site Its Awesome Site For Learing Sql Pakistan Zindabad :) Me Facebook https://www.facebook.com/AkDk123
Views: 403 Devil Killer
How to Detect Soft Corruption in Oracle 12c Database
 
18:19
Detection of Soft Corruption in 12c: To use the scripts below replace : , ",# and $ by proper bracket Lets Create a tablespace and small table. SQL: create tablespace DEMO1 datafile '/u02/tstdb1/TSTDB1/datafile/demo01.dbf' size 50M SQL: create table objects tablespace DEMO1 as select * from dba_objects; SQL: alter table objects add constraint pk_obj primary key #object_id$; SQL: create index idx_obj_name on objects#object_name$ tablespace demo1; Backup tablespace. RMAN: backup tablespace DEMO1; We need to put the DB in archivelog first Rebuild index with NOLOGGING option to simulate soft corruption later. RMAN: alter index idx_obj_name rebuild nologging; Confirm that we have datafiles that require backup because they have been affected with NOLOGGING operation. RMAN: report unrecoverable; Simulate corruption. RMAN: alter database datafile 5 offline; RMAN: restore datafile 5; RMAN: recover datafile 5; RMAN: alter database datafile 5 online; Query table with corrupted index and notice error. SQL: select count#*$ from objects where object_name like 'A%'; Let’s perform validation of datafile to check block corruption. RMAN: backup validate check logical datafile 5; Notice that we have 457 blocks marked corrupt but v$database_block_corruption view is empty. SQL: select count#*$ from v$database_block_corruption; Let’s query v$nonlogged_block view. set lines 200 set pages 999 select file#, block#, blocks,object#,reason from v$nonlogged_block; Will RMAN detect that we have corrupted blocks? RMAN: backup datafile 5; RMAN backup won’t fail due to NOLOGGING corrupt blocks and our backup will contain soft corrupted blocks. Let’s Identify corrupt segments using v$nonlogged_block view. set lines 2000 set pages 9999 col owner for a20 col partition_name for a10 col segment_name for a20 SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file# , greatest#e.block_id, c.block#$ corr_start_block# , least#e.block_id+e.blocks-1, c.block#+c.blocks-1$ corr_end_block# , least#e.block_id+e.blocks-1, c.block#+c.blocks-1$ - greatest#e.block_id, c.block#$ + 1 blocks_corrupted FROM dba_extents e, V$NONLOGGED_BLOCK c WHERE e.file_id = c.file# AND e.block_id "= c.block# + c.blocks - 1 AND e.block_id + e.blocks - 1 := c.block# UNION SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file# , header_block corr_start_block# , header_block corr_end_block# , 1 blocks_corrupted FROM dba_segments s, V$NONLOGGED_BLOCK c WHERE s.header_file = c.file# AND s.header_block between c.block# and c.block# + c.blocks - 1 UNION SELECT null owner, null segment_type, null segment_name, null partition_name, c.file# , greatest#f.block_id, c.block#$ corr_start_block# , least#f.block_id+f.blocks-1, c.block#+c.blocks-1$ corr_end_block# , least#f.block_id+f.blocks-1, c.block#+c.blocks-1$ - greatest#f.block_id, c.block#$ + 1 blocks_corrupted FROM dba_free_space f, V$NONLOGGED_BLOCK c WHERE f.file_id = c.file# AND f.block_id "= c.block# + c.blocks - 1 AND f.block_id + f.blocks - 1 := c.block# order by file#, corr_start_block# / This is the best outcome to get if you notice corruption errors. All errors are related to index corruption so we could fix this problem rebuilding index. alter index idx_obj_name rebuild; Simply issuing "alter index rebuild" command won't work. We should mark index unusable to drop segment before rebuilding it or just rebuild index with online option. It is better choice to mark index unusable because you don't need additional space then, but I will simply rebuild index with online option and see what will happen. SQL: alter index idx_obj_name rebuild online; Index altered. SQL: select count#*$ from objects where object_name like 'A%'; No errors... but, let's validate datafile for corruption. RMAN: backup validate check logical datafile 5; Notice "Marked Corrupt" column. Hm... 457 like before. Don't worry, this is not new corruption. These are FREE blocks which will be reused and Oracle will automatically re-format those blocks. Query the v$nonlogged_block view again as given above. We could force re-formatting creating dummy table and inserting data to dummy table. Check Doc ID 336133.1. create table s # n number, c varchar2#4000$ $ nologging tablespace DEMO1; SQL: BEGIN FOR i IN 1..1000000 LOOP INSERT /*+ APPEND */ INTO sys.s select i, lpad#'REFORMAT',3092, 'R'$ from dual; commit ; END LOOP; END; / SQL: drop table sys.s purge; Notice that we don't have corrupted blocks any more. RMAN: backup validate check logical datafile 5;
Views: 160 OracleDBA
how to solve error invalid object name
 
01:10
how to solve error invalid object name
Views: 2433 Uus Rusmawan
Audit table changes in sql server
 
06:45
sql server 2008 ddl trigger audit sql server table changes tracking In this video we will discuss, how to audit table changes in SQL Server using a DDL trigger. Table to store the audit data Create table TableChanges ( DatabaseName nvarchar(250), TableName nvarchar(250), EventType nvarchar(250), LoginName nvarchar(250), SQLCommand nvarchar(2500), AuditDateTime datetime ) Go The following trigger audits all table changes in all databases on a SQL Server. CREATE TRIGGER tr_AuditTableChanges ON ALL SERVER FOR CREATE_TABLE, ALTER_TABLE, DROP_TABLE AS BEGIN DECLARE @EventData XML SELECT @EventData = EVENTDATA() INSERT INTO SampleDB.dbo.TableChanges (DatabaseName, TableName, EventType, LoginName, SQLCommand, AuditDateTime) VALUES ( @EventData.value('(/EVENT_INSTANCE/DatabaseName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/ObjectName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/EventType)[1]', 'nvarchar(250)'), @EventData.value('(/EVENT_INSTANCE/LoginName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/TSQLCommand)[1]', 'nvarchar(2500)'), GetDate() ) END In the above example we are using EventData() function which returns event data in XML format. Text version of the video http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server_12.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html Full SQL Server Course https://www.youtube.com/playlist?list=PL4cyC4G0M1RQ_Rm52cQ4CcOJ_T_HXeMB4 All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 40096 kudvenkat
Oracle Database11g tutorials 11: SQL case manipulation function in Oracle Database
 
04:38
Part 2 SQL functions- character function -case manipulation functions Previous Video Link :: http://youtu.be/5rx8Q4x4-qI Tool used in this tutorial is command prompt. This tutorial series is part of SQL expert exam certification training. if you are preparing for SQL certification you can use my tutorials. This SQL Tutorial is a part of free training. Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=j7eYO7 Contacts E-Mail [email protected] Twitter https://twitter.com/rebellionrider Instagram http://instagram.com/rebellionrider Facebook. https://www.facebook.com/imthebhardwaj Linkedin. http://in.linkedin.com/in/mannbhardwaj/ Thanks for linking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ------------------------------------------------------------------------------------- As discuss in last video we have 3 case manipulation functions. In case you miss the SQL functions intro video you can find the link in the description below. First let's see what these functions are. Upper (): This function takes a parameter converts it into uppercase and returns the new string. Initcap (): this function also takes parameter and converts the initial letter of or parameter into uppercase and returns the new string. Lower (): This function takes a parameter converts it into lowercase and returns the new string. Ok let's do some practical For this practical we will be using 2 tables First is dual table Which is a dummy table provided by oracle? And I have created another table again by the name of example. This will be our second table. Let's start with SQL function upper ( ); SELECT upper('hello world') FROM dual; As you can see I have used "hello world" completely in lowercase as parameter to SQL upper function. Execute it. Here, our result has given us a completely new hello world string which is in uppercase. Similarly you can also use SQL upper function to perform other DML Let's try This time we will work on our second table EXAMPLE; insert into example values (upper('manish')); first parentheses for values and second for SQL function upper. Let's check the result. As you can see here inserted value is in upper case. Lets compare it with simple insert query Insert into example values ('manish'); Execute it, i think now it's clear that when we perform simple insert DML the inserted value will be the same you provide. Similarly let's try SQL function initcap(); SELECT initcap('hello world') FROM dual; As you see here in result the initial letters of string hello world are in uppercase. Let's do the insert query insert into example values (initcap('hello world')); initial letters of string also are in uppercase. Let's try SQL function lower(); This time we have to write our hello world in all caps. SELECT lower('HELLO WORLD') FROM dual; Execute String totally in lower case. Similarly you can user SQL function lower in other DML like insert and all.
Views: 85782 Manish Sharma
DB2 Tips n Tricks Part 51 - How To List all Database Objects in a Schema
 
06:32
How To List all Database Objects in a Schema Solution: Use SYSIBMADM.OBJECTOWNERS Admin View or db2look -d dbname -e -z schema-name Happy Learning & Sharing
Views: 3183 DB2-LUW-ACADEMY
SQL Error: Cannot insert the value NULL into column ID
 
02:00
https://codedocu.com/Details?d=2139&a=10&f=352&l=0 System.Data.SqlClient.SqlException occurred HResult=0x80131904 Message=Cannot insert the value NULL into column 'IDDetail', table column does not allow nulls. INSERT fails.
Views: 4565 CodeDocu_com
Formatting your Oracle Query Results Directly to CSV
 
03:02
How to get Oracle SQL Developer to automatically format your query results to CSV, HTML, JSON, Insert statements, and more.
Views: 42287 Jeff Smith
Oracle Database Tutorial 58: How To Import Schema using REMAP_SCHEMA in impdp Data Pump Import
 
03:59
Learn how to import schema using REMAP_SCHEMA in impd data pump import in oracle database By Manish Sharma Rebellion Rider. ------------------------------------------------------------------------ ►►►LINKS◄◄◄ Blog: http://bit.ly/how-to-import-schema-impdp-data-pump-oracle Previous Tutorial Tut 56 How to import table in same schema : http://youtu.be/oEnmEUlicY0 ------------------------------------------------------------------------- Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage https://copy.com?r=kb4rc1 -------------------------------------------------------------------------- ►Make sure you SUBSCRIBE and be the 1st one to see my videos! -------------------------------------------------------------------------- Amazon Wishlist: http://bit.ly/wishlist-amazon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ►►►Find me on Social Media◄◄◄ Follow What I am up to as it happens on https://twitter.com/rebellionrider https://www.facebook.com/imthebhardwaj http://instagram.com/rebellionrider https://plus.google.com/+Rebellionrider http://in.linkedin.com/in/mannbhardwaj/ http://rebellionrider.tumblr.com/ http://www.pinterest.com/rebellionrider/ You can also Email me at [email protected] Please please LIKE and SHARE my videos it makes me happy. Thanks for liking, commenting, sharing and watching more of our videos This is Manish from RebellionRider.com ♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Views: 22394 Manish Sharma
How to use type 4 jdbc driver in eclipse(oracle 11g or 10g)
 
03:06
This Video shows you "How to use type 4 jdbc driver in eclipse(oracle 11g or 10g)" ---------------------------------------------------------------------------------- Before you do this you should have ------------------------------------------------------ (1) Oracle 11g or 10g installed in your pc (2) Eclipse installed in your pc (3) Write the jdbc program (4) Execute the query in SQL Prompt that you are used in your jdbc program --------------------------------------------------------------------------- STEPS 1. Before running the jdbc program, just in case make sure the query executes correctly 2. write the program( i will provide the jdbc program code below) 3. go to Eclipse 4. 'Right Click' on JRE System Library(Build path --~ Configure Build path--~ Add External Jars--~ *choose ojdbc 6 jar -----C:\oraclexe\app\oracle\product\11.2.0\server\jdbc\lib---- (just search for ojdbc6 jar in oracle path or (oraclexe) path) 5. click open 6. click Apply 7. click Apply and close --------------------------------------------- sample jdbc type 4 driver program to execute --------------------------------------------- package com.nt.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Scanner; public class FourthDriver { public static void main(String[] args) { Scanner sc=null; String user=null,pass=null; Connection con=null; ResultSet rs=null; Statement st=null; String query=null; int count=0; try { sc=new Scanner(System.in); if(sc!=null) { System.out.println("Enter Username: "); user=sc.nextLine(); System.out.println("Enter password: "); pass=sc.nextLine(); } user="'"+user+"'"; pass="'"+pass+"'"; Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system","manager"); if(con!=null) st=con.createStatement(); /*SELECT COUNT(*) FROM USERLIST WHERE UNAME='jaya' AND PWD='123';*/ query="SELECT COUNT(*) FROM USERLIST WHERE UNAME="+user+" AND PWD="+pass; System.out.println(query); if(st!=null) rs=st.executeQuery(query); if(rs!=null) { if(rs.next()) count=rs.getInt(1); System.out.println(count); } if(count==0) System.out.println("Invalid Credentials"); else System.out.println("Valid Credentials"); }//try catch(SQLException se){ se.printStackTrace(); System.out.println("Record insertion failed"); } // catch(ClassNotFoundException cnf){ // System.out.println("Record insertion failed"); // cnf.printStackTrace(); // // } catch(Exception e){ System.out.println("Record insertion failed"); e.printStackTrace(); } finally { try { if(rs!=null) rs.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(st!=null) st.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(con!=null) con.close(); }catch(SQLException se) { se.printStackTrace(); } try { if(sc!=null) sc.close(); }catch(Exception se) { se.printStackTrace(); } }//finally }//method }//class ---------------------------------------------------------------------- ask in comments if you have any doubts ---------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------- Visit www.99techbuzz.com for more Articles like this Video :) ________________________________________________________________ Subscribe to the Channel http://www.youtube.com/channel/UCndUIPHik4T497b2sC_A6sw?sub_confirmation=1 ---------------------------------------------------------------------------------------------------------- For more tips and tricks like The Facebook Page https://www.facebook.com/99techbuzz/ ----------------------------------------------------------------------------------------------------------
Views: 518 99TechBuzz
Dynamic sql table name variable
 
11:59
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Slides http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable_20.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss how to pass table name dynamically for stored procedure in sql server. This is one of the sql questions that is very commonly asked. I have a web page with a textbox. When I enter a table name in the textbox and when I click "Load Data" button, we want to retrieve data from that respective table and display it on the page. Copy the SQL Script to create the tables from my blog using the link below http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Create the following stored procedure. Notice we are passing table name as a parameter to the stored prcoedure. In the body of the stored procedure we are concatenating strings to build our dynamic sql statement. In our previous videos we discussed that this open doors for SQL injection. Create procedure spDynamicTableName @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from ' + @TableName Execute sp_executesql @sql End So the obvious question that comes to our mind is, why are we not creating parameterised sql statement instead. The answers is we can't. SQL Server does not allow table names and column names to be passed as parameters. Notice in the example below, we are creating a parameterised query with @TabName as a parameter. When we execute the following code, the procedure gets created successfully. Create procedure spDynamicTableName1 @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from @TabName' Execute sp_executesql @sql, N'@TabName nvarchar(100)', @TabName = @TableName End But when we try to execute it we get an error - Must declare the table variable "@TabName" Execute spDynamicTableName1 N'Countries' Add a Web Page to the project that we have been working with in our previous video. Name it "DynamicTableName.aspx". Copy and paste the HTML from my blog using the link below http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html Copy and paste the code from my blog in the code-behind page http://csharp-video-tutorials.blogspot.com/2017/04/dynamic-sql-table-name-variable.html At this point, run the application and type the following text in the "Table Name" textbox and click "Load Data" button. Notice "SalesDB" database is dropped. Our application is prone to SQL injection as we have implemented dynamic sql in our stored procedure by concatenating strings instead of using parameters. Employees; Drop database SalesDB One way to prevent SQL injection in this case is by using SQL Server built-in function - QUOTENAME(). We will discuss QUOTENAME() function in detail in our next video. For now understand that by default, this function wraps that string that is passed to it in a pair of brackets. SELECT QUOTENAME('Employees') returns [Employees] Modify the stored procedure to use QUOTENAME() function as shown below. Alter procedure spDynamicTableName @TableName nvarchar(100) As Begin Declare @sql nvarchar(max) Set @sql = 'Select * from ' + QUOTENAME(@TableName) Execute sp_executesql @sql End At this point, type the following text in the "Table Name" textbox and click "Load Data" button. Notice you will see a message - Invalid object name 'Employees; Drop database SalesDB'. Also "SalesDB" database is not dropped. Employees; Drop database SalesDB The entire text in "Table Name" textbox is wrapped in a pair of brackets by the QUOTENAME function and is treated as table name. Since we do have a table with the specified name, we get the error - Invalid object name.
Views: 23873 kudvenkat
Identifying object dependencies in SQL Server
 
05:50
sql server object dependencies ms sql server object dependencies sql server object dependency tree sql server management studio object dependencies In this video we will discuss how to identify object dependencies in SQL Server using SQL Server Management Studio. The following SQL Script creates 2 tables, 2 stored procedures and a view Create table Departments ( Id int primary key identity, Name nvarchar(50) ) Go Create table Employees ( Id int primary key identity, Name nvarchar(50), Gender nvarchar(10), DeptId int foreign key references Departments(Id) ) Go Create procedure sp_GetEmployees as Begin Select * from Employees End Go Create procedure sp_GetEmployeesandDepartments as Begin Select Employees.Name as EmployeeName, Departments.Name as DepartmentName from Employees join Departments on Employees.DeptId = Departments.Id End Go Create view VwDepartments as Select * from Departments Go How to find dependencies using SQL Server Management Studio Use View Dependencies option in SQL Server Management studio to find the object dependencies For example : To find the dependencies on the Employees table, right click on it and select View Dependencies from the context menu In the Object Dependencies window, depending on the radio button you select, you can find the objects that depend on Employees table and the objects on which Employees table depends on. Identifying object dependencies is important especially when you intend to modify or delete an object upon which other objects depend. Otherwise you may risk breaking the functionality. For example, there are 2 stored procedures (sp_GetEmployees and sp_GetEmployeesandDepartments) that depend on the Employees table. If we are not aware of these dependencies and if we delete the Employees table, both stored procedures will fail with the following error. Msg 208, Level 16, State 1, Procedure sp_GetEmployees, Line 4 Invalid object name 'Employees'. There are other ways for finding object dependencies in SQL Server which we will discuss in our upcoming videos. Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/10/identifying-object-dependencies-in-sql.html
Views: 23245 kudvenkat
Part 4   Delete duplicate rows in sql
 
03:26
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/05/part-4-delete-duplicate-rows-in-sql.html In this video, we will discuss deleting all duplicate rows except one from a sql server table. SQL Script to create Employees table Create table Employees ( ID int, FirstName nvarchar(50), LastName nvarchar(50), Gender nvarchar(50), Salary int ) GO Insert into Employees values (1, 'Mark', 'Hastings', 'Male', 60000) Insert into Employees values (1, 'Mark', 'Hastings', 'Male', 60000) Insert into Employees values (1, 'Mark', 'Hastings', 'Male', 60000) Insert into Employees values (2, 'Mary', 'Lambeth', 'Female', 30000) Insert into Employees values (2, 'Mary', 'Lambeth', 'Female', 30000) Insert into Employees values (3, 'Ben', 'Hoskins', 'Male', 70000) Insert into Employees values (3, 'Ben', 'Hoskins', 'Male', 70000) Insert into Employees values (3, 'Ben', 'Hoskins', 'Male', 70000) The delete query should delete all duplicate rows except one. Here is the SQL query that does the job. PARTITION BY divides the query result set into partitions. WITH EmployeesCTE AS ( SELECT *, ROW_NUMBER()OVER(PARTITION BY ID ORDER BY ID) AS RowNumber FROM Employees ) DELETE FROM EmployeesCTE WHERE RowNumber ] 1
Views: 330001 kudvenkat
MSSQL -  Fix Error   Cannot drop database dbname because it is currently in use
 
01:40
More Info https://howtodomssqlcsharpexcelaccess.blogspot.com/2018/11/mssql-fix-error-cannot-drop-database.html
Views: 68 Vis Dotnet
Importing Data from Excel into Oracle Database using SQL Developer 4.1
 
02:23
One of SQL Developer’s most popular features has undergone a significant upgrade. Users can quickly define and recall delimited or Excel files to be imported to a new or existing Oracle table. Data preview and validation is provided for each column, as well as ‘best guess’ data type and date format mask mapping. This process can now be automated via the SQL Developer command line interface (SDCLI) ‘Import’ command. NOTE: This is a video only. There is no audio. Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
How to Find if Table/View is used by Stored Procedure in SQL Server - SQL Server Interview Questions
 
06:44
In this video, we are going to learn how to find out if the table is used in a Stored Procedure. we have multiple ways to do that. This System Stored Procedure will return you list of table/views used by the Stored procedure/View. You can pass the view name or Stored Procedure as parameter,it will return you tables/views which are used in the object. One disadvantage of using sp_depends is , it will not show you tables/views which are not in current database. If you have used objects from other databases, this information might be misleading. --By using sp_depends, You can provide Stored Procedure Name or View name as parameter EXEC sp_depends '[dbo].[GetCustomer]' The 2nd method is to use the sys.sysdepends view with combination of sys.sysobjects to get the information. This also works the same way. It will not show you cross database objects ( Tables,Views) if have used in Stored Procedure or view definition. --Get Information from sys.sysdepends SELECT DISTINCT OBJECT_NAME(SD.id) AS StoredProcedureNameName, OB.name AS TableOrViewName FROM sys.sysdepends SDINNER JOIN sys.sysobjects O ON SD.id=O.id INNER JOIN sys.sysobjects OB ON SD.depid=OB.id AND O.xtype='P' 3rd method is to use the sys.all_sql_modules system view. The definition column of this view has definition of Stored Procedure, Views, Functions etc.You can write query as given below to check if any of the Stored Procedure or object is using the table/view you are looking for. --Use sys.all_sql_modules system view to get information if table is used --in a Stored Procedure SELECT OBJECT_NAME(OBJECT_ID),definition FROM sys.all_sql_modules WHERE definition LIKE '%vw_Employee%' Link to post: http://sqlage.blogspot.com/2015/02/how-to-find-if-tableview-is-used-in.html
Views: 10010 TechBrothersIT
Best Way to Write Basic SQL Queries
 
13:33
SQL Server Query writing strategies is something I have yet to find in any book. When enthusiastic SQL students do this, they experience a revelation. The number of errors drops significantly and the speed at writing complex queries increases immediately. Knowing how to narrow down what we are looking for amongst a vast list of choices helps immensely. Grabbing the right tables first and then the fields second is akin to grabbing the right menu before ordering an item from it. In fact, one student named Tim took this back to his team of SQL developers and they immediately implemented this process. We are all used to following steps. Most of the time, actions are sequential from top to bottom or left to right. Other times we complete things in phases. The two phases we are going to use in this exercise apply to joining tables. This is easy to implement as we only need remember to organize first and clean up second. When visiting a new restaurant, we will ask to see the menu, because we want to see all they have to offer. The odds are that we might be interested in half of the items, but only need a few dishes for our group at the table. Looking at the menu is like starting a query with a ‘SELECT *’ statement. Once we have looked at all the fields, we narrow our choice(s) to only the items we want at the time. Sometimes restaurants have multiple menus. My favorite restaurant has a kids’ menu, an adult menu, a gluten-free menu and a drink menu. These menus were each gathered at our table. Ultimately, in my head, a selection was narrowed to what was needed. Phase I: Organize. When building a new query from many tables, we often find ourselves wondering, “Where do I start?” First, lay the steps out by identifying which tables contain the essential data. Second, get all the table joins working with a basic ‘SELECT *’ statement. Third, add any basic filtering criteria. Phase II: Itemize. Once all joins and criteria, such as SELECT, FROM and WHERE are working, we are ready for Phase II. This entails going back and changing our ‘SELECT *’ to an itemized SELECT field list as the final step. Let’s explore how this two-phase process of Organize and then Itemize can be a big time-saver. We are going to use one of the challenges from the last lab. In Lab 3.2 (Outer Joins), Skill Check 2, we needed to get four fields from two different tables. If we were to list all four desired fields and test one table at time, we will get an error as seen on the right side of the figure below. In the figure below we write a SELECT statement and part of the FROM clause. When completed, the FROM clause will have two tables, but for now we just want to get the Location table working. By using the ‘SELECT *’ strategy, we remove any possible errors from line 1. From there, we can focus on the more complicated logic used for joining tables together. We can add tables one at a time until everything is working. This is the Organize phase. NOTE: SELECT * never results in an Error message stating “invalid column name”, however; a SELECT list with itemized field(s) can have this error. After our query is organized and working, we can go back and itemize the SELECT field list to display only the fields that are necessary. This is done during Phase II (Itemize). The steps for this system are broken down as follows: Since SELECT is always the first statement in a query, it’s natural to want to write the field names before writing the FROM clause. However; we can save time and trouble by using the ‘*’ until the entire query is working properly. When this is complete, it is very easy to itemize the field list, with the confidence of knowing it will not cause any problems. Exercise: Simple membership for a club: Table1 (id_Member,name_Member, email_member, title, age, company) Table2 (id_Club,club_name, club_Location, address) Table3 (id_club, id_member,membership_date) Q1: Show all member names, email, age, and company from Table1 Q2: Show all club name, location, and address data Q3: Show member name, club name, club location (hint: Use joins and all 3 tables) You can find all other classes related to this video here: http://www.joes2pros.com/joes2pros/Course/Introduction_To_Microsoft_SQL_Server Enroll Today & Get the First Month for only $1! Use code: YOUTUBE1
Views: 214841 Joes2Pros SQL Trainings
introduction to sql - Aggregating Data Using Group Functions
 
02:18
Course Description – sql1 COURSE DESCRIPTION: The Oracle server extends the data modeling capabilities to support an object relational database model that brings object-oriented programming, complex data types, complex business objects, and full compatibility with the relational world. It includes several features for improved performance and functionality of online transactionprocessing (OLTP) applications, such as better sharing of run-time data structures, larger buffer caches, and deferrable constraints. Data warehouse applications will benefit from enhancements such as parallel execution of insert, update, and delete operations; partitioning; and parallel-aware query optimization. COURSE OBJECTIVES: in this course List the capabilities of SQL SELECT statements Execute a basic SELECT statement Differentiate between SQL statements and iSQL*Plus commands Limit the rows retrieved by a query Sort the rows retrieved by a query WHO SHOULD ATTEND?   COURSE OUTLINE: In this lesson, you should have learned howtheOracleserverusesconstraints to prevent invalid data entry into tables. You also learned how to implement the constraints in DDL statements.   Writing Basic SQL SELECT Statements Restricting and Sorting Data Single-Row Functions Displaying Data from Multiple Tables Aggregating Data Using Group Functions Subqueries Producing Readable Output with iSQL*Plus Manipulating Data Creating and Managing Tables Including Constraints
Views: 154 EasyShiksha TV
Set your SQL server default database to be the CM database
 
01:54
In this video we will show SCCM admins how to get rid of the invalid object name error that is caused by not being connected to the Configuration Manager database. You know the error, we have all seen it! Msg 208, Level 16, State 1, Line 1 Invalid object name 'dbo.v_R_System'. Blog post: https://www.enhansoft.com/blog/invalid-object-name-in-sql-server-management-studio-ssms
Views: 3486 Enhansoft Inc
Oracle SQL Developer Tutorial For Beginners  24   Create an User
 
02:31
Oracle SQL Developer Tutorial For Beginners Series. This course introduces Oracle SQL Development for its subscribers. Currently this is based on Oracle 12c. The test environment is in Windows 10.
Views: 2176 Sam Dhanasekaran
Crystal Reports Tutorial Creating SQL Commands Business Objects Training Lesson 17.2
 
07:15
Learn how to create a SQL command in Crystal Reports by Business Objects at www.teachUcomp.com. Get the complete tutorial FREE at http://www.teachucomp.com/free - the most comprehensive Crystal Reports tutorial available. Visit us today!
Views: 160196 TeachUComp
01 - Connections check list & error number
 
01:48
First step when you could not connect to P6 oracel DB 1-Check the oracle services is running . 2- check that you are connecting to the right DB (in this video DB is on local computer) 3-Define what is the error and the error number (ORA-XXXX)
Views: 404 adel mohd
SQL Prompt Pro in Visual Studio - using placeholders
 
01:39
SQL Prompt Pro is a code completion, code formatting, and refactoring tool for SQL Server. It’ll plug into SQL Server Management Studio or Visual Studio. You’ll find you can work more quickly and accurately with SQL queries, as well as standardize across your team by sharing formatting styles and commonly used SQL snippets. Try it free for 28 days at www.red-gate.com/sqlprompt In this tip Data Platform MVP Steve Jones explains how to use SQL Prompt in Visual Studio, to write SQL quickly and accurately with the help of code snippets and placeholders. For more tips for writing SQL effortlessly check out the #SuperSQLTips playlist: https://www.youtube.com/playlist?list=PLhFdCK734P8A_q6XHDXi4CQzys3R0Jw3X
Views: 1129 Redgate Videos
Database Testing in Software Testing | SQL Tutorial for Beginners | Software and Testing Training
 
52:33
Learn database testing concepts, database testing basics and how to perform database testing manually with this database testing tutorial with examples in SQL Server. Sample DB Test Plan at http://inderpsingh.blogspot.com/2010/05/sample-database-test-plan.html See First Normal Form video at https://youtu.be/m67fCU-Dmhg See Second Normal Form video at https://youtu.be/3vOAKZwyC6M See Third Normal Form video at https://youtu.be/WB0ONKK_y68 See Database migration testing video at https://youtu.be/eQG4W4Zr8eo Testing Tutorials complete : https://www.youtube.com/playlist?list=PLc3SzDYhhiGWuMK03uYO-UENAx0s2woWM Test Automation : https://www.youtube.com/playlist?list=PLc3SzDYhhiGXVcy8EcrTSfwsC-v8EUZvg Follow me on: Website: http://inderpsingh.blogspot.com/ Messages: https://plus.google.com/+InderPSingh Twitter: https://twitter.com/inder_p_singh * useful for database testing for beginners, manual database testing
DB2 LUW 10 -- Capture and Access Section Actuals Skill Builder
 
13:56
Standard DB2 LUW explain reports show estimated result counts for each operation in the access plan. These estimates are determined before the SQL statement is executed. We will show how the DB2 procedure EXPLAIN_FROM_ACTIVITY can be used to generate an enhanced explain report that contains both estimated and actual runtime cardinalities, called Section Actuals, for each operation in the access plan. Course Links: DB2 for LUW Performance Tuning and Monitoring Workshop - DB2 10.1 (CL413) http://www.ibm.com/services/learning/ites.wss/zz/en?pageType=tp_search_results_new&noOfResultsPerPage=20&rowStart=0&searchString=cl413g DB2 LUW Performance Tuning/Monitoring for Single/Multiple Partition DBs (CL443) http://www.ibm.com/services/learning/ites.wss/zz/en?pageType=tp_search_results_new&noOfResultsPerPage=20&rowStart=0&searchString=cl443g Other links: Training Paths: http://www.ibm.com/services/learning/ites.wss/zz/en?pageType=page&c=a0007973 a) Advanced Database Administration -- Single Partition and DB2 pureScale http://www.ibm.com/services/learning/ites.wss/zz/en?pageType=page&c=a0014072 b) Database Administration - Multiple Partition http://www.ibm.com/services/learning/ites.wss/zz/en?pageType=page&c=a0000372 Certification Program: http://www.ibm.com/software/data/education/certification.html Test 000-610: DB2 10.1 Fundamentals http://www-03.ibm.com/certify/tests/ovr610.shtml Test 000-611: DB2 10.1 DBA for Linux, UNIX, and Windows http://www-03.ibm.com/certify/tests/ovr611.shtml Test 000-614: DB2 10.1 Advanced DBA for Linux UNIX and Windows http://www-03.ibm.com/certify/tests/ovr614.shtml DB2 10.5 Information Center See topic "Obtaining a section explain with actuals to investigate poor query performance" http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/index.jsp
Views: 1007 IBM Analytics Skills
introduction to sql - Displaying Data from Multiple Tables
 
03:13
Course Description – sql1 COURSE DESCRIPTION: The Oracle server extends the data modeling capabilities to support an object relational database model that brings object-oriented programming, complex data types, complex business objects, and full compatibility with the relational world. It includes several features for improved performance and functionality of online transactionprocessing (OLTP) applications, such as better sharing of run-time data structures, larger buffer caches, and deferrable constraints. Data warehouse applications will benefit from enhancements such as parallel execution of insert, update, and delete operations; partitioning; and parallel-aware query optimization. COURSE OBJECTIVES: in this course List the capabilities of SQL SELECT statements Execute a basic SELECT statement Differentiate between SQL statements and iSQL*Plus commands Limit the rows retrieved by a query Sort the rows retrieved by a query WHO SHOULD ATTEND?   COURSE OUTLINE: In this lesson, you should have learned howtheOracleserverusesconstraints to prevent invalid data entry into tables. You also learned how to implement the constraints in DDL statements.   Writing Basic SQL SELECT Statements Restricting and Sorting Data Single-Row Functions Displaying Data from Multiple Tables Aggregating Data Using Group Functions Subqueries Producing Readable Output with iSQL*Plus Manipulating Data Creating and Managing Tables Including Constraints
Views: 641 EasyShiksha TV
inroduction to sql - Restricting and Sorting Data
 
02:23
Course Description – sql1 COURSE DESCRIPTION: The Oracle server extends the data modeling capabilities to support an object relational database model that brings object-oriented programming, complex data types, complex business objects, and full compatibility with the relational world. It includes several features for improved performance and functionality of online transactionprocessing (OLTP) applications, such as better sharing of run-time data structures, larger buffer caches, and deferrable constraints. Data warehouse applications will benefit from enhancements such as parallel execution of insert, update, and delete operations; partitioning; and parallel-aware query optimization. COURSE OBJECTIVES: in this course List the capabilities of SQL SELECT statements Execute a basic SELECT statement Differentiate between SQL statements and iSQL*Plus commands Limit the rows retrieved by a query Sort the rows retrieved by a query WHO SHOULD ATTEND?   COURSE OUTLINE: In this lesson, you should have learned howtheOracleserverusesconstraints to prevent invalid data entry into tables. You also learned how to implement the constraints in DDL statements.   Writing Basic SQL SELECT Statements Restricting and Sorting Data Single-Row Functions Displaying Data from Multiple Tables Aggregating Data Using Group Functions Subqueries Producing Readable Output with iSQL*Plus Manipulating Data Creating and Managing Tables Including Constraints
Views: 697 EasyShiksha TV
How To Connect Sql Database With ESSL ETimeTrackLite
 
05:01
This Video shows how to Connect Sql Database With ESSL ETimeTrackLite. For More: http://www.techmax.co.in
Views: 63976 TechMax
BluePrism -Java Automation - Introduction - BPJAVA2001 - Aditya RPA Academy BTM Layout
 
03:58
BluePrism -Java Automation - Introduction - BPJAVA2001 - Aditya RPA Academy Aditya Chereddy M.Tech.,
Views: 1105 Aditya Chereddy
ADF Training - Oracle ADF 11g Security - Custom ADF Login Form - Part 1
 
14:54
This ADF training from https://www.fireboxtraining.com/oracle-adf-training demonstrates how to create an ADF login page using a managed bean to capture the user's credentials. It then calls the adfAuthentication servlet to perform the ADF authentication. Part 2 of this tutorial shows you how to set up the authorization to allows specific users to view the page. Discover more about ADF training courses for business at: https://www.fireboxtraining.com/
Views: 61174 Firebox Training
QTP Videos,UFT videos, VB Script,Types Of Output Value in QTP and UFT,QTP Interview questions
 
10:12
=========================== WELCOME TO H2K INFOSYS IT Staff Augmentation, Job placement assistance, Tech Support QTP Videos,UFT videos, VB Script,Types Of Output Value in QTP and UFT,QTP Interview questions IT Training for corporate & Individuals, Fast track IT Training & Job placement assistance for OPT / MS graduates in USA Software Design, Development, QA Testing, Performance Testing & Support H2K Infosys is a one stop global online software training institution that offers a huge portfolio of software online training and onsite training in technological areas such as Software QA Testing (QA), Business Analysis (BA), HP QTP, HP LoadRunner, WebServices, Java, J2EE, Microsoft C# and ASP .NET, Oracle DBA to name a few. These online software training courses are designed for Individuals, and employees of forward thinking companies and other organizations to acquire, maintain, optimize and validate their IT skills. "With the changing trends in the market, innovation is the key to stay ahead" - H2Kinfosys provides software training with latest technologies to meet the current job market. H2Kinfosys is developing software projects for the current and future generations in Education, Healthcare, Finance, Supply chain, CRM, Hospitality, Cloud and Telecom domains. Why H2K..? 100% Job Oriented Instructor Led Face2Face True Live online Software Training with Cloud Test Lab to practice on Software Tools and Live Project work. Resume Prep & Review, Mock Interviews and Job Placement assistance. More interaction with student to faculty and student to student. Detailed presentations. Soft copy of Materiel to refer any time. Practical oriented / Job oriented Training. Practice on Software Tools & Real Time project scenarios. Weekly mock interviews / group discussions / interview related questions. Test Lab is in Cloud Technology - to practice on software tools. Pay onetime fee & repeat / re attending classes multiple times until student is comfortable with every topic. This feature is helpful to students who are new to I.T. Field. Depends on the batch schedule and student convenient, Student can repeat Weekend or Weekday batches and review the topic multiple times. QA Testing training is 80+ hours. We discuss about the real time project domains in Banking/Financial, Telecom, Supply Chain Management, CRM, Health care and other domains. We provide Recorded Videos for every class to review before and after the live class. The teaching methods / tools / topics we chosen are based on the current competitive job market. Visit http://www.h2kinfosys.com/advantages. QA Testing Training Course Highlights Module 1:Manual Testing Software Testing Life Cycle,SDLC,Waterfall vs. Agile QA Tester Role,Test Metrics,Types of Testing Software Testing Life Cycle,STLC,Defect Life Cycle Testing Methodologies,Software Testing process Test case,Test plan,RTM,Defect tracking Home works,Telecom,Banking,HealthCare,Supply chain domains. Role of QA,BA,Developer,Technical Architects etc. Module 2:HP Quality Center - ALM for Test management/ Defect Tracking Module 3:SQL (Database/Back End Testing) Module 4:UNIX / Linux Operating System/Backend Testing Module 5:HP QTP (Quick Test Professional) for Automation Testing Module 6:HP Loadrunner for Performance Testing Module 7:Review & questions on all topics,Configuration Management,CMMI,Six Sigma principles,Requirement (e.g. Sarbanes Oxley,HIPPA-Medical related),Interview Questions. How to prepare professional resume? Module 8: IBM Mainframe Testing Module 9: SAP Testing (Sales & Distribution (SD),Production Planning or CRM Or any one of the SAP) Module 10: WebServices (SOA) Testing using SoapUI tool Module 11: ETL and Data warehouse Testing Module 12: IBM Rational Quality Manager (RQM) Tool (It was Rational Test Manager)
Views: 564 Rao HTwoKInfosys
Curso de SQL Server   DML Insert, Select, Update y Delete
 
12:10
Pueden seguirme en mis redes sociales: Facebook: https://www.facebook.com/leonel.lopez.1257604 Instagram: @leolopez0204 Cualquier pregunta ponerla aca en la cajas de comentario, y recuerden darle like al video y compartir.
Views: 258 Leonel Lopez
Website Hacking & Understanding Databases | phpmyadmin | Hindi
 
10:28
The best way to make sure your database is secure from hackers is to think like a hacker. If you were a hacker, what sort of information would you be looking for? How would you try to get it? There are numerous types of databases and many different ways to hack them, but most hackers will either try to crack the database root password or run a known database exploit. If you’re comfortable with SQL statements and understand database basics, you can hack a database. Find out if the database is vulnerable.[1] You’ll need to be handy with database statements to use this method. Open the database web interface login screen in your web browser and type a ’ (single quote) into the username field. Click “Login.” If you see an error that says something like “SQL Exception: quoted string not properly terminated” or “invalid character,” the database is vulnerable to SQL injections. Image titled Hack a Database Step 2 2 Find the amount of columns.[2] Return to the login page for the database (or any other URL that ends in “id=” or “catid=”) and click into the browser address box. After the URL, hit the space bar and type order by 1, then hit ↵ Enter. Increase the number to 2 and press ↵ Enter. Keep increasing until you get an error. The actual number of columns is the number you entered before the number that gave you the error. Image titled Hack a Database Step 3 3 Find which columns accept queries. At the end of the URL in the address bar, change the catid=1 or id=1 to catid=-1 or id=-1. Hit the space bar and type union select 1,2,3,4,5,6 (if there are 6 columns). The numbers should count all the way up to the total amount of columns, and each should be separated by a comma. Press ↵ Enter and you’ll see the numbers of each column that will accept a query. Image titled Hack a Database Step 4 4 Inject SQL statements into the column. For example, if you want to know the current user and want to put the injection in column 2, erase everything after the id=1 in the URL and hit the space bar. Then, type union select 1,concat(user()),3,4,5,6--. Hit ↵ Enter and you will see the name of the current database user on the screen. Use any SQL statements you’d like to return information, such as lists of usernames and passwords to crack. Method 2 Cracking the Database Root Password Image titled Hack a Database Step 5 1 Try logging in as root with the default password. Some databases don’t have a root (admin) password by default, so you may be able to get in leaving the password field empty. Some others have default passwords that can be found easily by searching database tech support forums. Image titled Hack a Database Step 6 2 Try common passwords. If the admin secured the account with a password (a likely situation), try common username/password combinations. Some hackers publicly post lists of passwords they’ve cracked while using auditing tools. Try some different username and password combinations. A reputable site with collected password lists is https://github.com/danielmiessler/SecLists/tree/master/Passwords. Trying passwords by hand can be time-consuming, but there’s no harm in giving it a shot before breaking out the big guns. Image titled Hack a Database Step 7 3 Use a password auditing tool.[3] You can use a variety of tools to try thousands of dictionary words and letter/number/symbol combinations by brute force until the password is cracked. Tools like DBPwAudit (for Oracle, MySQL, MS-SQL and DB2) and Access Passview (for MS Access) are popular password auditing tools that can be run against most databases.[4] You can also search Google for newer password auditing tools specifically for your database. For instance, a search for password audit tool oracle db if you’re hacking an Oracle database. If you have an account on the server that hosts the database, you can run a hash cracker like John the Ripper against the database’s password file. The location of the hash file is different depending on the database.[5] Only download from sites that you can trust. Research tools extensively before using them. Method 3 Running Database Exploits Image titled Hack a Database Step 8 1 Find an exploit to run.[6] Sectools.org has been cataloging security tools (including exploits) for over ten years. Their tools are reputable and used by system administrators all over the world for security testing. Browse their “Exploitation” database (or find another trustworthy site) to find tools or text files that help you exploit security holes in databases. Another site with exploits is www.exploit-db.com. Go to their website and click the Search link, then search for the type of database you want to hack (for example, “oracle”). Type the Captcha code in the provided square and search. Be sure you research all exploits you plan to try so you know what to do in case of potential iss
Views: 424 Tech Universe
İnvalid Data Tables Hatası Çözümü (Sağlam Client)
 
00:30
http://www.mediafire.com/download/tjduj2mngq39z62/ESEN+Client.7z
Views: 2195 Anıl d
TRY CONVERT function in SQL Server 2012
 
07:46
try convert function in sql sql server try_convert try_convert in sql server 2012 try convert sql try_parse vs try_convert sql server In this video we will discuss TRY_CONVERT function Difference between CONVERT and TRY_CONVERT functions Difference between TRY_PARSE and TRY_CONVERT functions TRY_CONVERT function Introduced in SQL Server 2012 Converts a value to the specified data type Returns NULL if the provided value cannot be converted to the specified data type If you request a conversion that is explicitly not permitted, then TRY_CONVERT fails with an error Syntax : TRY_CONVERT ( data_type, value, [style] ) Style parameter is optional. The range of acceptable values is determined by the target data_type. For the list of all possible values for style parameter, please visit the following MSDN article https://msdn.microsoft.com/en-us/library/ms187928.aspx Example : Convert string to INT. As the string can be converted to INT, the result will be 99 as expected. SELECT TRY_CONVERT(INT, '99') AS Result Example : Convert string to INT. The string cannot be converted to INT, so TRY_CONVERT returns NULL SELECT TRY_CONVERT(INT, 'ABC') AS Result Example : Converting an integer to XML is not explicitly permitted. so in this case TRY_CONVERT fails with an error SELECT TRY_CONVERT(XML, 10) AS Result If you want to provide a meaningful error message instead of NULL when the conversion fails, you can do so using CASE statement or IIF function. Example : Using CASE statement to provide a meaningful error message when the conversion fails. SELECT CASE WHEN TRY_CONVERT(INT, 'ABC') IS NULL THEN 'Conversion Failed' ELSE 'Conversion Successful' END AS Result Output : As the conversion fails, you will now get a message 'Conversion Failed' instead of NULL Example : Using IIF function to provide a meaningful error message when the conversion fails. SELECT IIF(TRY_CONVERT(INT, 'ABC') IS NULL, 'Conversion Failed', 'Conversion Successful') AS Result What is the difference between CONVERT and TRY_CONVERT CONVERT will result in an error if the conversion fails, where as TRY_CONVERT will return NULL instead of an error. Since ABC cannot be converted to INT, CONVERT will return an error SELECT CONVERT(INT, 'ABC') AS Result Since ABC cannot be converted to INT, TRY_CONVERT will return NULL instead of an error SELECT TRY_CONVERT(INT, 'ABC') AS Result Example : Using TRY_CONVERT() function with table data. We will use the following Employees table for this example. SQL Script to create Employees table Create table Employees ( Id int primary key identity, Name nvarchar(10), Age nvarchar(10) ) Go Insert into Employees values ('Mark', '40') Insert into Employees values ('John', '20') Insert into Employees values ('Amy', 'THIRTY') Insert into Employees values ('Ben', '21') Insert into Employees values ('Sara', 'FIFTY') Insert into Employees values ('David', '25') Go The data type of Age column is nvarchar. So string values like (THIRTY, FIFTY ) are also stored. Now, we want to write a query to convert the values in Age column to int and return along with the Employee name. Notice TRY_CONVERT function returns NULL for the rows where age cannot be converted to INT. SELECT Name, TRY_CONVERT(INT, Age) AS Age FROM Employees If you use CONVERT instead of TRY_CONVERT, the query fails with an error. SELECT NAME, CONVERT(INT, Age) AS Age FROM Employees The above query returns the following error Conversion failed when converting the nvarchar value 'THIRTY' to data type int. Difference between TRY_PARSE and TRY_CONVERT functions TRY_PARSE can only be used for converting from string to date/time or number data types where as TRY_CONVERT can be used for any general type conversions. For example, you can use TRY_CONVERT to convert a string to XML data type, where as you can do the same using TRY_PARSE Converting a string to XML data type using TRY_CONVERT SELECT TRY_CONVERT(XML, '[root][child/][/root]') AS [XML] Converting a string to XML data type using TRY_PARSE SELECT TRY_PARSE('[root][child/][/root]' AS XML) AS [XML] The above query will result in the following error Invalid data type xml in function TRY_PARSE Another difference is TRY_PARSE relies on the presence of .the .NET Framework Common Language Runtime (CLR) where as TRY_CONVERT does not. Text version of the video http://csharp-video-tutorials.blogspot.com/2015/10/tryconvert-function-in-sql-server-2012.html Slides http://csharp-video-tutorials.blogspot.com/2015/10/tryconvert-function-in-sql-server-2012_16.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 25710 kudvenkat
how to fix can't find project or library in vba - vbatip#37
 
02:58
how to fix can't find project or library in vba - vbatip#37 https://freevbatips.blogspot.com/2017/12/how-to-fix-cant-find-project-or-library.html TO UNLOCK OR CUSTOMIZE VBA AUTOMATIONS https://www.fiverr.com/deepaklohia/customise-excel-vba-automation-to-suit-your-needs
Views: 13494 FREE VBA TIPS
Reload data into cache automatically when data in the table changes   Part 132
 
12:11
Text version of the video http://csharp-video-tutorials.blogspot.com/2013/02/reload-data-into-cache-automatically.html Slides http://csharp-video-tutorials.blogspot.com/2013/08/part-132-reload-data-into-cache.html All ASP .NET Text Articles http://csharp-video-tutorials.blogspot.com/p/free-aspnet-video-tutorial.html All ASP .NET Slides http://csharp-video-tutorials.blogspot.com/p/aspnet-slides.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In Part 130 of asp.net video tutorial, we discussed about reloading data into cache automatically, when the xml file from which the data was initially retrieved, has changed. In this video, we will discuss about reloading data into cache automatically when data in the underlying database table has changed. Please watch Part 131, before proceeding with this video. To load data automatically into cache, when cached data is removed, we need to define a callback method. This callback method will be invoked when the respective item is removed from cache. So, the code to reload and re-cache data can be written in this method. The callback method signature should match, with the signature of "CacheItemRemovedCallback" delegate. The call back method is defined below. public void CacheItemRemovedCallbackMethod(string key, object value, CacheItemRemovedReason reason) { string CS = ConfigurationManager.ConnectionStrings["DBConnectionString"].ConnectionString; SqlConnection con = new SqlConnection(CS); SqlDataAdapter da = new SqlDataAdapter("spGetProducts", con); da.SelectCommand.CommandType = CommandType.StoredProcedure; DataSet ds = new DataSet(); da.Fill(ds); CacheItemRemovedCallback onCacheItemRemoved = new CacheItemRemovedCallback(CacheItemRemovedCallbackMethod); SqlCacheDependency sqlDependency = new SqlCacheDependency("Sample", "tblProducts"); Cache.Insert("ProductsData", ds, sqlDependency, DateTime.Now.AddHours(24), Cache.NoSlidingExpiration, CacheItemPriority.Default, onCacheItemRemoved); } Now, create an instance of "CacheItemRemovedCallback" delegate, and to the contructor pass the name of the callback method, that should be executed automatically when, the cached item is removed. CacheItemRemovedCallback onCacheItemRemoved = new CacheItemRemovedCallback(CacheItemRemovedCallbackMethod); In Part 131, to cache data, we used cache object's, Insert() method that takes 3 parameters, as shown below. Cache.Insert("ProductsData", ds, sqlDependency); Instead, let's use the overloaded version that takes 7 parameters and pass "onCacheItemRemoved" as an argument for "CacheItemRemovedCallback" parameter. Cache.Insert("ProductsData", ds, sqlDependency, DateTime.Now.AddHours(24), Cache.NoSlidingExpiration, CacheItemPriority.Default, onCacheItemRemoved); That's it. We are done. Now, please run the application. When "Get Data" button is clicked for the first time, the data is loaded from database. Once the data is loaded into cache, we always get it from cache when we click "Get Data". Now, execute an update statement on the database table. Notice that, when we click "Get Data" button now, we still get data from cache, but notice that, the updated data is loaded.
Views: 38786 kudvenkat
Combine multiple queries: SAP BusinessObjects Web Intelligence 4.0
 
02:21
In this video, we will combine multiple queries in a Web Intelligence document to return all the data from one query, minus any data that matches the other query. Visit us at http://www.sap.com/LearnBI to view our full catalog of interactive SAP BusinessObjects BI Suite tutorials.
Views: 44390 SAPAnalyticsTraining
Spring Boot Quick Start 31 - Adding Entity Relationship and Extending Repository
 
14:56
Access the full course here: https://javabrains.io/courses/spring_bootquickstart Learn how to implement a relationship mapping using @ManyToOne as well as establish relationship based find-filter method in the JPA repository.
Views: 140581 Java Brains
SQL Aggregate Functions
 
13:55
In this video you will understand Aggregate functions which are used in SQL server or t-SQL language. You will see the Count max min avg and sum functions usage in this video.
Views: 935 Palle University
How to Insert Into Table In SQL
 
02:46
Follow this step by step easy tutorial to learn how to insert data into the tables in SQL Server Database via queries. Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ The data inside the database is held by the tables. The data can be inserted in these tables either by the queries or even with a straightaway Graphical method. In this tutorial we will see both the methods. Step 1 -- Locating the Appropriate Database First of all, we need to locate and expand the database where that particular table is present. After that, expand the table's directory. Then we will insert the data in the Inventory table. If we move into the column section, it can be seen that there are four fields which have to be added, namely the ID, the Product Name, the Quantity and the Price. Step 2 -- Writing query for inserting record Now to insert in table, SQL query would be: Insert into Inventory (id,Product,quantity,price) values (1,'abc',12,255.32); Make sure that each value is separated by a comma. Once done, simply press F5 to execute the query. At the bottom, in the messages section, a message will appear about table rows that have been affected. Step 3 -- Another Method of Insertion We can also insert data in a table by simply giving the values straight away. For that just write the following query: Insert into Inventory values (1,'ab2',30,300.36); Make sure that the values in query in SQL inserted into table are in the same order as the order of columns in the table. Now let's execute this query and in the messages section, you can see the rows that have been affected. To insert in table, SQL queries are required to be written with much care as error can arise if we just miss to insert ellipsis even. Step 4 -- Viewing Table Data Now let's check the table to see if the data has been inserted correctly. For that let us fetch all records from the inventory table and for that, write: Select * from inventory When we execute the query, you can see all the records in the results section below, and they are exactly the same as we mentioned in the query in earlier steps. Step 5 --Alternate Method of inserting data To insert in table, SQL provides another way through which we don't have to write SQL insert into table queries. For that, just right click on the inventory table and choose the 'Edit top 200 rows' option. Step 6 -- Inserting data in Fields Over here, we can start inserting the data in the table straight away, without using the queries. All we have to do is type the records in the fields and press enter to save the changes made in each field. And that is how data is inserted in tables in SQL using insert keyword.
ReactJS Basics - #6 Passing Data with Props
 
16:16
React Components should be able to interact. Props allow you to pass Data from a Parent Component to a Child Component. Learn how to use them! It is Part of the ReactJS Basics Series. Join the full course: https://www.udemy.com/react-the-complete-guide-incl-redux/?couponCode=ACAD_YT Full Source Code available on GitHub (choose the right Branch): https://github.com/mschwarzmueller/reactjs-basics Did you like it? Also have a look at Angular 2: https://www.youtube.com/watch?v=DBjPIabiRNg You can follow me on Twitter (@maxedapps), Facebook (https://www.facebook.com/academindchannel/) or visit our Website (https://www.academind.com).
Views: 99391 Academind
Import Data and Analyze with Python
 
11:58
Python programming language allows sophisticated data analysis and visualization. This tutorial is a basic step-by-step introduction on how to import a text file (CSV), perform simple data analysis, export the results as a text file, and generate a trend. See https://youtu.be/pQv6zMlYJ0A for updated video for Python 3.
Views: 199761 APMonitor.com