SQL Express vs SQL Plus - sql

I'm wondering what the difference is if any between SQL Express and SQL Plus. I know SQL Plus is used with Oracle but not sure if SQL Plus is a modification of SQL Express or a totally different installation.
Thanks

SQL Plus is the command line interface to an Oracle instance, like SQL Server's SQLCMD.
Both Oracle and SQL Server refer to their free versions as Express.

Sql Express is the express version of SQL Server. This can be used for development purpose. Sql Plus comes with Oracle. Its a command line tool to run PL/SQL scripts

You can use SQLS*Plus - this is a free SQL Server tool that acts as SQL*Plus for Oracle

SQL Plus is a console-like interface that can be used with any Oracle database ("Express" or otherwise). You can use it with Oracle's Express Edition or regular Oracle.
MS SQL Express is analogous to Oracle Express Edition.
I am not sure if there is an analogue to SQL Plus from Microsoft.

Related

How to make SQL server 2000 compatible with SQL server 2008

I need to dump a software to a clients server. The problem is that my software is using SQL server 2008 and the client is using SQL Server 2000. So could anyone please suggest how I can make the clients SQL server 2000 compatible with my queries of SQL server 2008?
Thanks for the suggestion
But my concern is that software is already developed with SQL server 2008, then is there any way to use it with SQL server 2000?
You should have developed your software against SQL 2000, or demanded your client upgrade to at least 2005. Did
you ask the client which version you would deploy to before starting development? That is part of standard requirements gathering.
SQL 2008 queries may or may not be compatible with SQL 2000 due to
many new features in 2005 and 2008. There is no shortcut.
At best, make sure to use SQL 2000 documentation from MSDN when writing queries. Use the lowest common denominator.
If you are supporting a product that must deploy to multiple SQL Server versions, you may consider using an ORM that supports SQL 2000. Checkout the Nuget gallery of ORMs: http://staging.nuget.org/packages?q=Tags%3A%22ORM%22 - I believe something simple like Dapper supports 2000.
At minimum you should set your SQL 2008 compatibility level down to 2000 during development.
http://msdn.microsoft.com/en-us/library/bb510680.aspx
ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = 80
I recommend you setup a virtual machine, install the older OS that your client uses as well as SQL Server 2000. Otherwise there are unforeseeable differences.

Does fluentmigrator work with SQL Server 2012?

Does the current iteration of fluentmigrator work with SQL Server 2012? Its not listed under the supported databases.
There is no official support for Sql Server 2012 yet. But it should work if you specify SqlServer2008 as the database type. The differences between Sql Server 2005, 2008 and 2012 are not so significant when using FluentMigrator (Sql Server 2000 is a different story). Some features like the new sequence object have no support so in the meantime will have to be run using Execute.Sql.
UPDATE: I tested FluentMigrator against Sql Server 2012 Express with database type specified as SqlServer2008 and it worked fine.
UPDATE: FluentMigrator now officially supports Sql Server 2012 and Sequences.

Oracle SQL Developer vs SQL Server Management Studio

I just installed Oracle SQL Developer, and attached it to my SQL Server. I like to expose myself to different environments. I was wondering if anyone knows of any benefits that the Oracle SQL IDE has over the SQL Server IDE. Is there any reason at all why I should keep the Oracle IDE, if the only sever I play with at the moment is SQL Server?
Thanks!
I cannot think of any advantages or reasons to use Oracle SQL Developer if you only do SQL Server development.
At best, you are limiting yourself on the SQL Server features that you cannot access via SQL Developer. Things like backing up your db, attaching, detaching, scripting, user security, etc. Not to mention SQL Server's T-SQL awareness that Oracle will not have.
Being able to attach Oracle SQL Developer to SQL Server is really meant for people integrating the two. Otherwise, use a SQL Server specific tool.
PS: Consider, a lot of Oracle DBAs and Developers don't use Oracle SQL Developer anyway. If you want to expose yourself to a good tool, try Toad, SQL Navigator or DBArtisan (for Oracle).

Methods to migrate SQL Database (mdf) to SQL Compact Edition (sdf)

I have 4 SQL Server 2005 db's that I want to move to SQL CE. I know I cannot keep the SProcs,Views, and Functions(Differences Between SQL Server Compact and SQL Server) but I would like to keep everything else.
I have tried this app, SQL Server to SQL Server Compact Edition Database Copy but it errors out on me. I have the source and am looking into it but I thought I'd check and make sure I wasn't over complicating the solution to my ACTUAL goal.
Is there a simple, can be one shot, way of converting standard SQL .mdf to SQL CE .sdf?
Right now my best idea is to set up Replication to the SQL CE from the SQL 2005 Standard.
http://erikej.blogspot.com/2010/02/how-to-use-exportsqlce-to-migrate-from.html
1.Use SQL Server to SQL Server Compact Edition Database Copy with sqlcompact 3.1 or 3.0 not sql compact 3.5
You can use a virtual machine like sun virtual box, install sql compact 3 or 3.1 on it, and convert your database inside it
2.You can convert to sql compact manually
Use the SDFViewer utility:
go Tools Menu > From SQL Server
Enough said....
What if you scripted the objects from 2005 and ran the script in CE? That'd give you the structure of the DB, then you could select/insert?
I haven't tried this, but what about SQL's DB export/import tools in management studio?

Moving data between oracle and sql server using Linked server

I have set up Oracle Linked server on Sql Server 2005 box using Oracle provider oledb and its working fine from sql server 2005 to oracle 9i, i.e. When i run distributed query from sql server i get data from oracle server to sql server. Now I don't have any clue how do i run distributed query from Oracle server and get data from sql server repeatedly. Do i have to set up Dsn ? What other things i have to set up before i run query from oracle server?
FYI : Oracle server is Sun solaris server and SQL server is x64 Windows Server 2003. Sql server has oracle client installed on it with odac drivers for ORACLE Provider for OLEDB.
I am going to use loadjava to load java into oracle and than move data between both repeatedly. (Java, Stored procedures & Triggers from oracle to get data from sql server)
Here is one way. DG4ODBC setup guide here.
This might help, too.
linking databases is the first phase. After that you may face the problems we faced, like not being able to delete fetched rows from Sql Server to Oracle Server remotely.
I will post a question about that, it is odd that our procedures used for data synching do not respons the same.