Archive from September, 2009
Sep 21, 2009 - Uncategorized    No Comments

Introducing SQL Translator

We have secretly been working on the complete database translator for quite some time now – over a year. While our existing tool, Full Convert, efficiently migrates tables, data, indexes and foreign keys, it can’t handle procedures, triggers, views, UDTs and other database objects. This turned out to be a burning issue for many of our (potential) customers who need to have their database logic translated, as well as data. As SQL is a verbose language with loose syntax (one thing can be written in many very different ways), analyzing code turned out to be hard. There are not so many tools for that on the market, for obvious reasons.

So, where are we now? We have written lexical and semantic parsers for MySQL, SQL Server and Oracle – with Firebird, PostgreSQL and others to follow. I can tell you, these grammars are huge! Our semantic parser is very fast, it parses hundreds of thousands lines of code in a few seconds, and gives us perfect in-memory object representation of the SQL commands. We have covered most of the statements in each SQL dialect, and consciously skipped some exotic statements that probably not many people use. People are signing up on our beta tester list daily, and I am happy that you will soon be able to test our long-term effort.

How does it work? You will be able to hand over just a SQL script file, and we analyze all the code, show you all objects in a nice tree list, and you can browse both the original and the translated code easily. You can also modify the translated code by hand and we won’t touch that object’s translation (unless you choose to revert to default). You can even refresh the source at any time without losing your manual tweaks. You can also connect to the live source database and we will fetch a definition for each object – the rest is pretty much the same as if you were working with a script.

For output, you can either create a database creation SQL file, or you can connect to your live target database server and have everything moved over seamlessly and test the code logic.

Sign up for notifications or beta testing here: www.spectralcore.com/sqltranslator/

Sep 16, 2009 - C#    No Comments

How Visual Studio 2008 went from crawling to running

I had a terrible experience with VS2008. Although I use a speedy Quad Core CPU, 4 GB of RAM, fast hard drives and a fast graphic card – it took between 5 and 10 seconds to redraw a form in Visual Studio designer. I wasn’t sure if it’s because of the excellent DevExpress components we use for all our .NET products, but it seemed just a bit too much to expect, even from Microsoft.

So, after being fed up with the sluggish VS interface once too much, I googled to see if there is a solution. Guess what? I found it in just a few minutes and am not cursing VS anymore. Because of this issue, at least. :)

In short, if your problem is caused by the same thing that slowed me down, just go to Internet Options (either from Control Panel or from IE’s Tools menu) and uncheck the Check for publisher’s certificate revocation* in the  Advanced tab, under Security Node section in the tree list.

Read the whole thread here:
http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/bc778e26-9156-4924-a9ca-a57ef8ff6bcc