It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
What is the Difference between SQL and SQL*Plus?
SQL* Plus is a command line tool proprietary to Oracle. You can send SQL queries to the server using the tool. It can also help you format the result of a query.
You should get a good head start on SQL*Plus here http://www.comp.nus.edu.sg/~ooibc/courses/sql/sqlplus.htm
SQL is the query language that is used to communicate with Oracle server to access and modify the data.
cheers
SQL is a language, SQL*Plus is a tool.
SQL*Plus is an Oracle product that you use to run SQL and PL/SQL statements.
SQLPlus, the primary interface to the Oracle Database server, provides a powerful yet easy-to-use environment for querying, defining, and controlling data. SQLPlus delivers a full implementation of Oracle SQL and PL/SQL, along with a rich set of extensions. The exceptional scalability of the Oracle Database, coupled with the object-relational technology of SQL*Plus, allows you to develop your complex datatypes and objects using Oracle's integrated systems solution.
From Oracle.com (http://www.oracle.com/technology/tech/sql_plus/index.html)
sql*plus is a character based interactive tool,rhat runs in a GUI invironment. It is loaded on the client machine .
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am totally new to the subject of databases and I have only theoretical knowledge about it.I want to run the SQL commands I read about but totally clueless where to run it.The definition says SQL is a special purpose programming language.If so why doesn't it have a compiler?And if I have to install in a RDBMS on my computer to practice SQL, what is the one you would suggest for learners?Can SQL commands be run in all RDBMS?
I am totally despondent about it,utterly clueless.Please help me take the first step.Just a simple thing--Where on earth to run those SQL commands?
You can use http://sqlfiddle.com/ to test your queries. There you can chose a database (mysql, Oracle, Sql Server or other), generate test tables, fill them with test data and generate test queries to this data
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I wanted to access my Oracle DataBase at home so that I could work weekends, etc. I talked to my database administrator and all he had to do was add my home IP to his records, and I was allowed access.
The OTN download license allows us to install the full suite of Oracle software, providing it is for the purposes of self-education.
So really it depends on what you mean by "play around with queries from home". If you're doing work you need a database licence; if you're teaching yourself about Oracle you don't.
The bigger issue is data security: the chances are you're not allowed to have the data on a laptop. Follow the news to understand why this is a bad idea. If you want to teach yourself Oracle there are lots of publicly available data sets we can download from the internet.
You can use exp or data pump export(10g onward) utility to unload data and metadata of your schema (user) into an OS file (dump file), bring it home and use imp or data pump import (10g onward) utility to import those unloaded previously data to a new schema.
If the database is small you can also use Oracle SQL Developer to export the scripts for the schema and the Insert statements for the data.
This is also possible in third-party tools such as TOAD.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
So, I have a .sql file that I have downloaded and was wondering how I connect to it via sql developer which I have also downloaded. Do I need to create a connection with hostname and port etc? can I just connect to a file manually/directly or something?
Also, can anyone recommend a good database to practice/learn on for a beginner? Should I just download oracle 11g and play around with that?
Thanks.
You cannot connect to a .sql file because it is not a database. Oracle runs as a server in its own right. If you do not already have access to a server then you will need to get one.
Fortunately, Oracle publishes a server you can use free of charge that will help get you into the swing of things. Have a look at Oracle Lite
I think you might find it quite a challenge getting yourself set up with a development environment but if you are patient and determined you can get there. Once you have a server to play with you can start to experiment with Sql, which is the language you use to interrogate the database.
Best of luck.
You'll need the SID as well as the ip address and port number (typically 1521) that tns listener is listening on.
Once you've connected, you'll be able to run your sql file against that database.
And yes, it would be a good idea to have a good understanding of Oracle before wandering off blindly into the world of database access (.sql files, for example)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
InnoDB Storage Engine Dropped From Oracle MySQL Classic Edition? What does this mean for the average developer who uses mysql or shall we start looking for alternatives?
http://digitizor.com/2010/11/05/innodb-dropped-from-oracle-mysql-classic-edition/
Thanks in advance ;-)
Just trying to understand what this really means?
People that you refer to use Community Edition. And nothing is changing about it.
About Classic Edition:
MySQL Classic Edition is only available to ISVs, OEMs and VARs to license as an embedded database.
I doubt that you used it.
Classic Edition is a build of MySQL that is embeddable into applications, rather than a stand-alone server application. It has never included the InnoDB storage engine.
Community Edition is the version of MySQL I would assume most people care about/are using/it's the open source version. It still includes InnoDB.
The classic addition is listed as appropriate for embedded applications, and it's meant to be as small as possible. The cost listed there is if you want the support subscription, and they do not offer support for the classic edition.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want to know about SQL injection.
So, please help me.
Lots of information about SQL Injection on wikipedia, and xkcd has a very good example as well.
In general, if your application is using a SQL database, a SQL Injection attack is an attempt to use your program to pass dangerous values to the SQL database.
The best preventative measures are to never construct SQL strings without cleaning them up - the best way to do this is to use parameterized queries and widely used data access libraries.
Start here: google "sql injection".
You will see that there is plenty to read about it.
If you want to protect yourself against sql injection, you have to be a bit more specific, as the exact methods differ depending on the database and on the platform using the database.
It is the technique to manipulate the input to control your sql. Read more here is better for you
Attacks by Example
Wiki
Couple of places to get started:
OWASP: Lots of principals on secure web app design. Check the first entry of the Top 10 on injection
Injection for .NET developers: Details on what it is and how to protect against it if you're working with .NET.
It allow a attacker to tamper with existing data, destroy the data or make it otherwise unavailable, and in short become administrators of the database server...
This attack involves injecting SQL commands in the query input thus effecting predefined SQL commands exection.