How to create DB link from Oracle 10g to SQL server? - Oracle DBA Forums
http://dbaforums.org/oracle/index.php?showtopic=4808
If the users will not access Oracle directly from this server the code tree is perfectly acceptable.Step 6 - Setup the Heterogeneous Services file on server xYou will need to document the parameters that Oracle needs to locate and execute the ODBC drivers. You will need to define a DSN for the non-Oracle Sybase database.Figure 2 - ODBC Data Source Administrator showing currently installed driversSteps 2 and 3 - Seting up and testing the ODBCThe first task in setting up the ODBC driver is to configure the ODBC
http://www.oracle.com/technetwork/database/features/plsql/ncomp-faq-087606.html
After the compilation completes successfully, you should verify that the number of invalid objects is less than or equal to the number of invalid objects prior to the recompilation. If the files are deleted from the filesystem while the database is shut down, or if you change the directory that holds the libraries, they are extracted again automatically
SQL*Plus COPY Command
http://docs.oracle.com/cd/B19306_01/server.102/b14357/apb.htm
Since most COPY commands are longer than one line, you must use a line continuation hyphen (-), optionally preceded by a space, at the end of each line except the last. COPY FROM HR@HQ TO JOHN@WEST - REPLACE WESTEMPLOYEES - USING SELECT * FROM EMPLOYEES The following command copies selected records from EMPLOYEES to the database to which SQL*Plus is connected
http://blog.sqlauthority.com/2010/03/04/sql-server-rollback-truncate-command-in-transaction/
as i am doing this since past four year and use to suggest my team member to take backup before any such kind of fatal command so that later on we can restore it. Restore database full backup Fullbackup1 apply trnsaction log backup Trnbackup1 Can you tell me what happen here? I am able to recovred the truncated records saucessfully after applying all the above
Oracle SQL
http://infolab.stanford.edu/~ullman/fcdb/oracle/or-nonstandard.html
After the current transaction has ended with a COMMIT or ROLLBACK, the first executable SQL statement that you subsequently issue will automatically begin another transaction. Every time you create an index (either explicitly with CREATE INDEX or implicitly with a UNIQUE or PRIMARY KEY declaration), you should (on the Stanford Oracle) follow the declaration by TABLESPACE INDX
Oracle Dynamic SQL
http://docs.oracle.com/cd/B28359_01/appdev.111/b28427/pc_13dyn.htm
Method 3 This method lets your program accept or build a dynamic query, then process it using the PREPARE command with the DECLARE, OPEN, FETCH, and CLOSE cursor commands. Regardless of the value of DBMS, if you use a VARCHAR variable to store the dynamic SQL statement, make sure the length of the VARCHAR is set (or reset) correctly before you execute the PREPARE or EXECUTE IMMEDIATE statement
SQL FAQ - Oracle FAQ
http://www.orafaq.com/wiki/SQL_FAQ
COMMIT - save work done SAVEPOINT - identify a point in a transaction to which you can later roll back ROLLBACK - undo the modification I made since the last COMMIT SET TRANSACTION - Change transaction options like isolation level and what rollback segment to use SET ROLE - set the current active roles DML are not auto-commit. If you include the SAMPLE clause within a multi-table or remote query, you will get a parse error or "ORA-30561: SAMPLE option not allowed in statement with multiple table references"
Display names of all constraints for a table in Oracle SQL - Stack Overflow
http://stackoverflow.com/questions/11879217/display-names-of-all-constraints-for-a-table-in-oracle-sql
The problem is that to drop a constraint for the column of a particular table I need to know the name that I have supplied for each constraints, which I have forgotten
No comments:
Post a Comment