Creating Databases and Tables In SQL
http://databases.about.com/od/sql/a/tables.htm
XYZ Corporation divides their sales force into eastern and western regions, each of which is divided into many territories covered by individual sales reps. Many database management systems offer a series of options to customize database parameters at this step, but our database only permits the simple creation of a database
http://blog.sqlauthority.com/2007/06/26/sql-server-2005-list-all-tables-of-database/
ORACLE : STAGE1 : SERVER STAGE2: ONLY 1 DATABASE STAGE3: MORE THAN ONE SCHEMA IN DATABASE If you execute any script at serve level, because there is only one database, it can give you results. Help please as I am trying to set up the connection to the dbase where the user will only be able to see a select set of tables, views and with either userid pass word via ms sql mang console or ODBC have just select access to tables for users, keeping things locked down from the user
http://blog.sqlauthority.com/2013/03/11/sql-server-how-to-add-column-at-specific-location-in-table/
When I am perusing an unfamiliar database for data elements it is easier to miss a piece of information when the data elements in a table are not logically grouped together. Also, sometimes I have been forced to write a bit more complex code which enumerates the columns by their names, or by part of the names used as a convention
http://www.thatjeffsmith.com/archive/2012/08/using-oracle-sql-developer-to-setup-sqlloader-runs/
From within my stored procedure (using SQL Developer) how do I call the .ctl file that will run my data import? reply thatjeffsmith posted 1 year ago I think to invoke an OS program from the database, sqlldr is a client program, then you would need to write a stored java procedure. Similar Posts by Content Area: Excel, import, loader, sqldev 43 comments add yours Uwe Hesse posted 2 years ago Great Info, Jeff! No doubt that many a DBA out there did not know that
Migrating a Microsoft SQL Server Database to Oracle Database 11g
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
Time to Complete Approximately 30 minutes Topics This tutorial covers the following topics: Overview Prerequisites Creating the mwrep User Creating the Migration Repository Capturing the Microsoft SQL Server Exported Files Checking Conversion Preferences Converting to the Oracle Model Generating and Executing the Script to Create the Oracle Database Objects Checking Offline Data Move Preferences Analysis and Estimation Migrating the Data Testing and Deployment Summary Viewing Screenshots Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: This action loads all screenshots simultaneously, so response time may be slow depending on your Internet connection.) Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that step
SQL*Plus Command Reference
http://docs.oracle.com/cd/B19306_01/server.102/b14357/ch12040.htm
When FIPS flagging is enabled, SQL*Plus displays a warning for the CONNECT, DISCONNECT, and ALTER SESSION SET FLAGGER commands, even if they are successful. That is, you must first make sure that you have disconnected from the current instance, then set or change the instance, and reconnect to an instance in order for the new setting to be enabled
SQL Worksheet for Basic SQL Syntax
http://www.oracle.com/technetwork/developer-tools/sql-developer/query-intro-1-161240.html
In this How-To, we look at the most basic of these, select all the data in a table, and restricting this query by reducing the columns or rows you retrieve
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
http://www.thatjeffsmith.com/archive/2012/08/how-to-import-from-excel-to-a-new-oracle-table-with-sql-developer/
Top Posts How to Import from Excel to Oracle with SQL Developer Oracle SQL Developer 4.0 Is Finally Here Formatting Query Results to CSV in Oracle SQL Developer Top 10 Preferences to Tweak when using SQL Developer From Bluehost to WP Engine, My WordPress Story Install Oracle SQL Developer on OS X (Mountain Lion) Follow Jeff: Oh, THAT Jeff Smith! I mostly write about working with Oracle databases, mostly. How can i import excel file with 180 columns and 65000 rows? thatjeffsmith posted 11 months ago I would try breaking it up into smaller files, try 10,000 rows and 180 columns
sql - Get list of all tables in Oracle? - Stack Overflow
http://stackoverflow.com/questions/205736/get-list-of-all-tables-in-oracle
Of course, you may want to exclude certain schemas like SYS and SYSTEM which have large numbers of tables that you probably don't care about because those are all delivered by Oracle
SQL Commands
http://docs.oracle.com/html/A95915_01/sqcmd.htm
CREATE USER STEVE IDENTIFIED BY STINGRAY; GRANT ADMIN TO STEVE; REVOKE ADMIN FROM STEVE; Example 2 The following example revokes the INSERT and DELETE privileges on the EMP table from the user, SCOTT. Example The following statement drops the procedure TRANSFER owned by the user KERNER and invalidates all objects that depend on TRANSFER: DROP PROCEDURE kerner.transfer Related Topics CREATE PROCEDURE 4.3.29 DROP SCHEMA Syntax Figure 4-38 The DROP SCHEMA Command BNF Notation DROP SCHEMA schema
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