-

My name is Ash Tewari. I have been developing software for over 10 years. I enjoy interacting with the members of software development community and very interested in sharing perspectives and insights with others. In my free time, I like to experiment with new tools, techniques, technology and concepts. In the process, I sometimes create something useful too !
Pages
-
Recent Posts
- Using Model-View-ViewModel in WPF Applications
- Use Legacy Printer From Windows 7
- Should you get into Silverlight or Flash ?
- Session Recommendations for SoCal Code Camp @ USC
- Using DbUpdater with MySql
- SQL Azure Notes
- Online Backup Solution
- Switched to Thematic
- Is Scrum Bad For Developers ?
- GUI Prototyping Tools
- Create Games From Scratch
- RIA with Silverlight and WCF – Los Angeles .NET Developers Group
- Job Opening – Windows GUI Developer
- Scrum Tools
- ReSharper vs CodeRush + Refactor Pro
-
Recent Comments
- vik on WPF – LINQ to SQL Sample
- tremeur balbous on Scrum Tools
- sezam20 on Scrum Tools
- Scrum Tool on Scrum Tools
- BhaaL on ReSharper vs CodeRush + Refactor Pro
- tewari on Using NHibernate With SQLite in DbUpdater
- Using DbUpdater with MySql on DbUpdater
- tewari on Using NHibernate With SQLite in DbUpdater
- David Ridgway on ReSharper vs CodeRush + Refactor Pro
- Adam Feldman on Scrum Tools
- Pranay on Using NHibernate With SQLite in DbUpdater
- Marion on Scrum Tools
- Breezback on Using NHibernate With SQLite in DbUpdater
- Online Scrum Tool on Scrum Tools
- tewari - Job Opening - Windows GUI Developer on Contact Me
DbUpdater
Version-aware sql schema deployment : DbUpdater (sql server, mysql, sqlite, oracle and more ...) FREE !Topics
.NET AdventureWorks advice C# career change Cheese code CodeCamp Comparison control database DataBinding DbUpdater demo Download free tool job life LINQ ListView log4net mapping MSSQL NHibernate output path presentation relevance RollingFileAppender sample scrum Share Silverlight Spencer sql startup directory tips tool Windows WPF WPF-LINQ xaml xml xpath xsltCategories
Archives
Twitter Updates
-
Notes
Using DbUpdater with MySql
DbUpdater can be used with mysql. Here are the files you need to jumpstart the integration – DbUpdater-MySql.zip 1. You might need to change the path to mysql.exe in mysql-exec.bat. 2. Modify values in mysql-sample-command-line.bat. Make sure mysql.data.dll is placed in GAC or in the same directory as DbUpdater.exe. Connector binaries can be downloaded from here - http://dev.mysql.com/downloads/connector/net/6.1.html (0)Online Backup Solution
Finalized online backup solution : JungleDisk. I can run it on all of my machines without paying extra. I get to keep the ownership of my data – by using my own Amazon S3 storage. Backed up all family photos – all 30 GBs. Feeling good (0)Switched to Thematic
I have switched to Thematic theme on this blog over the weekend. I created a child theme after playing around with the customization hooks. I added a widgetized area below main asides, did some css modifications and created a three column, flexible layout just the way I wanted. I am so glad I switched to Thematic. ThemeShaper forums are very helpful. These articles were just what I needed to get started : How to make a child theme for WordPress and How I used a WordPress Child Theme To Redesign My Blog. (0) BookShelf
Planned books:
Current books:
-
Pragmatic Thinking and Learning: Refactor Your Wetware (Pragmatic Programmers) by Andy Hunt
-
Working Effectively with Legacy Code by Michael Feathers
Recent books:
-




SQL Azure Notes
My invitation code for SQL Azure CTP finally arrived. I had been waiting for this.
You can create a database in from the SQL Azure Management page, shown above.
After you have created the database, of course, you can use DbUpdater with your SQL Azure databases. Here is the command-line :
DbUpdater.exe ..\SqlScripts /server:”tcp:SERVER.ctp.database.windows.net” /db:DATABASE /user:”USER@SERVER” /password:PASSWORD /confirm:true
And you will need this DbUpdater.exe.config file :
<?xml version=”1.0″ encoding=”utf-8″ ?>
<configuration>
<appSettings>
<add key=”file-prefix” value=”db” />
<add key=”file-extension” value=”sql” />
<add key=”schema-versions-name” value=”schema-versions-table.sql” />
<add key=”baseline-name” value=”baseline.sql” />
<add key=”post-script-prefix” value=”post” />
<add key=”post-script-always-apply” value=”true” />
<add key=”exe-file” value=”C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLCMD.EXE” />
<add key=”exe-args” value=’-U %UserName% -P %Password% -S “%ServerName%” -d %DbName% -i “%SqlFile%”‘ />
<add key=”dialect” value=”NHibernate.Dialect.MsSql2000Dialect” />
<add key=”driver_class” value=”NHibernate.Driver.SqlClientDriver” />
<add key=”connection_string” value=”Server=%ServerName%;Database=%DbName%;User ID=%UserName%;Password=%Password%;Trusted_Connection=False;” />
</appSettings>
</configuration>
You can run sqlcmd.exe directly to execute t-sql scripts on SQL Azure. Here is a sample command :
sqlcmd.exe -S SERVER.ctp.database.windows.net -U USER@SERVER -P PASSWORD -d DB -i “baseline.sql”
I received these errors when I executed my SQL Server 2005 scripts on a SQL Azure database -
These are not the limitations of the SQL Azure platform. SQL Azure is based on SQL Server 2008 Database Engine. The complete list of deprecated features in SQL Server 2008 are listed here along with the replacements (if any) : Deprecated Database Engine Features in SQL Server 2008 – MSDN.
After modifying the scripts to replace the deprecated features, the scripts could be executed without any further issues. All stored procedures, triggers and views were created without any errors.
The following error is a SQL Azure limitation.
Here is more detailed information on unsupported T-SQL – Unsupported Transact-SQL Statements (SQL Azure Database) – MSDN
Share This
Related posts