How can I use Azure Data Studio's SQL formatting with DBeaver? - format

I really love DBeaver as a database query tool, but I don't like the default SQL formatting that is has.
I'm wondering if it's possible to point to the SQL formatting that is used by Azure Data Studio? DBeaver allows you to use External formatters, but I'm not really sure how or if I can point to something within the Azure Data Studio to leverage it's format tools.
If I can't use Data Studio, could you suggest some other ways to use external SQL formatting with DBeaver? I'm currently using the Poor Man's SQL Formatter 1.6.10 and it's okay, but not as customizable as I'd like.
Thanks for any help / advice with this.

maybe a late answer, but there is an external formatter (SQLinForm) for DBeaver which can be found here

Related

How to read from an EDB database file

Microsoft Edge and other Microsoft products use an Extensible Storage Engine. If you have edge installed on windows, you can find the database file here:
C:\Users\username\AppData\Local\Packages\Microsoft.MicrosoftEdge_xxxxxxx\AC
\MicrosoftEdge\User\Default\DataStore\Data\nouser1\xxxxxxxx\DBStore\spartan.edb
I would like to read this database from my .NET app.
The only tool I have seen for viewing this data appears to be deprecated:
http://www.woanware.co.uk/forensics/esedbviewer.html
I can't seem to find any relevant nuget packages for querying this type of database. Does anyone have experience working with this type of database?
The database engine is esent.dll, and you can access it in several different ways:
C API. https://msdn.microsoft.com/en-us/library/gg269259(v=exchg.10).aspx
C#. https://github.com/microsoft/managedesent
Simplified C# (Isam layer). Easier to use, but not everything is exposed. https://github.com/Microsoft/ManagedEsent/tree/master/isam
(Disclosure: I've worked on the above products.)
That being said, if you just modify a random database, you can impact the host process's integrity, and it might end up crashing.
If you're a law-enforcement agent and it's for forensic purposes, Microsoft should be able to assist you (I haven't done it myself, but I've heard that they'll do it).
-martin

How to use VS and EF to access databases like Oracle and others?

What options do I have to connect from VS 2010 to other databases like Oracle etc.? What's the best solution?
Now I'm using entity framework (for MSSql DB) and would like to know if it's posssible to use it also for Oracle? I think there are some third party solutions but want to avoid them because of the costs.
Thanks in advance.
Regards.
There is this possibility
http://linqtooracle.codeplex.com/
then there is nhibernate
And also this other one
http://www.oracle.com/technetwork/topics/dotnet/index-085163.html
You could just install the Oracle Data Access Components (ODAC) that automatically integrate with Visual Studio. Other databases would likely have something similar.

Microsoft SQL Server to Oracle Data Migration (Conversion) (Other RDBMS ok, too)

Can you please give some tips or guidelines, best practices for MicroSoft SQL server to Oracle Data Migration? IMHO, it is something that comes best with experience. So I would like to benefit from your experience. Please share any insights that you have into design, modeling, testing or tuning for a data migration project. I would really appreciate if you share your experience even if it is not between these two RDBMSs.
Oracle offers a free IDE, SQL Developer, which includes a Migration Workbench to support moving data from MS SQL to Oracle. Check it out.

LINQPad and 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.

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