LINQPad and Oracle - oracle

Does LINQPad work with Oracle? Has anyone tried? What do you suggest?

As of beta version 4.35, LINQPad supports Oracle fully - you can now do "LINQ to Oracle" queries. I believe it uses the DevArt dotConnect libraries for managing this great feat. Further, in addition to native OCI support, it also supports a direct mode which does not require the Oracle OCI DLLs to be present.
To enable this feature you will need to simply add a new data connection in LINQPad, and when asked which driver to use - click the View more drivers... button. You can then install the IQ Driver and use it for querying Oracle, MySQL and SQLite databases.

Judging by their user voice item request for Oracle support, it appears unsupported at the moment.
A comment on the O'Reilly forums also suggests its not supported.
update As we understand it, there's now built-in Oracle support in the latest versions of LinqPad; the home page of LinqPad now lists support for Oracle.
update January 2013 The new LinqPad-to-Oracle support appears to still be available. Per the LinqPad FAQ:
Q. Why does LINQPad use LINQ to SQL under the covers, rather than Entity Framework?
A. LINQ to SQL is faster with large schemas and in most cases, emits
better SQL. You can, however, use EF with EDMs that you define
yourself. For querying SQLite, MySQL and Oracle (via the optional
plug-in), LINQPad uses Matt Warren's IQueryable toolkit.

Linqpad now has support for lightspeed which supports oracle.

Related

Moving a VB6 Application from SQL Server 2000 to SQL Server 2014

Interested to know if anyone has had any experience with moving a VB6 application from SQL Server 2000 to a newer version of SQL Server.
There are VB6 legacy apps on a Windows 2000 Server
These VB6 apps connect to a SQL 2000 Database
We are looking to upgrade from SQL 2000 to SQL 2014
We are reporting with Crystal Reports
The VB6 apps have inline SQL within them
I'd like to understand what the possible implications could be?
Thanks
For one thing, there is no direct migration path from 2000 to 2014. This article (http://sqlmag.com/sql-server-2014/sql-select-steps-migrate-sql-server-2000-sql-server-2014) outlines some potential steps to take to perform the upgrade.
Things that may trip you up not mentioned in this article:
DTS no longer exists so if you have any DTS packages, it will be a project to upgrade/convert them all over to SQL Server Integration Serices (SSIS) packages.
If your VB6 app contains hard coded SQL statements, rather than just calling stored procedures, you could have minor syntax issues that would have to be rectified (so test EVERYTHING)
If you are also looking to migrate VB6 to .NET, there is an upgrade wizard out there somewhere, but it is HORRIBLE, so depending on the need, it may be faster to just re-write from scratch. If you are implying that the VB6 application would just connect to the migrated 2014 database, the note on the main question is accurate, but again...test EVERYTHING.
3a. If you are referencing any old COM components or old OCX controls, it will be a source of pain.
3b. Does your app do any reporting? old 2000 SSRS, or Crystal reports? again, another project.
Good luck!
I've done it, and there were stored procedures / user functions that needed to be updated for compatibility. Here is a Microsoft tool, SQL Server Upgrade Advisor. If you are using inline SQL in your code I'm not sure if this tool will help you. I was fortunate in that most on teh application SQL was implemented as stored procedures inside the database itself.
Here is an MSDN blog post about upgrade considerations and using the Upgrade Advisor tool.

Querying Oracle 11g multidimensional cube from sqldeveloper

Im new to oracle multidimensional models...
I have followed the "Creating a Multidimensional Model" 15 min Oracle tutorial. Tutorial Link
Note: This tutorial use sql developer data modeler.
I would like to know how to query the created data cube using SQL Developer (I.E. using regular SQL DML statements). Every time I look for information online I end up getting links on how to use the Oracle Analytic Workspace Manager. Why? I would like to just build the cube and query it without having to make use of the Oracle Analytic Workspace Manager.
I would appreciate if somone could let me know if I am missing some steps. (a short simple example would be nice)
Thanks in advance.
I realize you asked this in August 2013, but in case it still helps you or others, as of Feb 2014, SQL Developer has an OLAP extension which seems to be what you were looking for...
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-releasenotes-v4-1925251.html
The OLAP extension enables you to use the familiar environment of SQL
Developer to create and manage dimensional objects in Oracle Database
12c Release 1 (12.1.0.1.0) or higher. Oracle OLAP provides advanced
multidimensional analytic capabilities and storage within the
database, including excellent query performance, fast incremental data
updates, efficient management of summary data, and rich analytic
content, such as time series calculations and both additive and
nonadditive aggregations.

working with direct Oracle access components in delphi

I am creating one delphi application which is fetches data from database. For accessing the database through delphi i am using DOA components.
Is it possible to run the built exe on any machine? If not then what are the option available? thanks for the help.
Yes, it is possible to run your exe on any machine. You only need Oracle client to be installed.
The DOA components are not free as you can tell by reading their website. So you'll have to purchase these components, and you'll have to install and configure the Oracle client on each machine.
But they may still be your best option. Alternatively, you can use ADO, but the ADO Oracle driver from Oracle apparently is instable, while the ADO Oracle driver from Microsoft is much stabler, but doesn't support blobs.
These problems are solved in ADO.NET, but that won't do you any good using Delphi 5.

Accessing Oracle 10g (and higher) from .Net 2.0?

I have yet to find a good comparison of technologies for accessing Oracle from .Net applications...
Are there significant differences between Microsoft's System.Data.OracleClient provider and Oracle's Oracle.DataAccess.Client? My current company is using both because they couldn't figure out how to return a cursor from an oracle function using System.Data.OracleClient. (I fixed that for them, so that is not a factor) For dynamic sql queries, they prefer to use System.Data.OracleClient as they feel that Oracle.DataAccess.Client is "picky" and causes other problems in general.
Edit: Deprecation of the System.Data.OracleClient types is not a concern
Other than Deprecation of System.Data.OracleClient, are there significant reasons to lean one way or the other for new development?
Would a comparison grid between Oracle ODP.net and Microsoft Oracle Client help?

SubSonic, and Microsoft stopping support for LINQ

I am a front end developer working on a small social network. Currently, we are using SubSonic and it has satisfied all of our needs. Since Microsft has stopped supporting LINQ, I want to know how this will affect the development of SubSonic if at all. Is there any reason to move to ADO.net?
Microsoft has not stopped supporting LINQ. I think you might be referring to LINQ to SQL, which is a completely different animal. If you're developing with SubSonic, you should have no issue with LINQ to SQL support.
LINQ is in no way going to stop being supported.
If you're referring to LINQ to SQL, you'd also be mis-informed. LINQ to SQL is indeed evident in .NET 4.0 / Visual Studio 2010.
I would also like to add: Linq and Linq-to-sql and two VERY different things.
I find it so frustrating that so many people don't understand this

Resources