Reputation:
Currently i have no way to test my code with SQL Server. I know nothing about it and have been using SQLite. What should i know while switching? My app is programmed in C# .NET
Upvotes: 0
Views: 277
Reputation:
One logic difference is in tsql primary keys do not auto increase by default. (i may report other difference here)
Upvotes: 0
Reputation: 7063
Some of they key differences you might encounter depending on which aspect of sqlite you have been suing.
Upvotes: 2
Reputation: 35374
Why do you say there is "no way" to test your code? If you don't have a server available, you can still use the SQL Server Express Edition free of charge for testing.
http://www.microsoft.com/express/sql/default.aspx
This is assuming your database file isn't larger than 4GB (edit: corrected from 1GB).
SQL Server supports a larger subset of SQL-92 than SQLlite, along with its own language extensions that make up T-SQL, but otherwise I think you'll find it a relatively painless transition.
Upvotes: 4
Reputation: 410
Go to the Erland Sommarskog's site and read everything.
Another vote for SQL Express as well.
Upvotes: 2
Reputation: 20485
To get you started, here are some important things when switching to a enterprise grade networked DB -- from a global-lock embedded in-process db:
You need to know about connections failing when doing networked programming, and how to handle such exceptions elegantly.
You need to know about connection pooling.
you need to know about transactions, since there is no global lock in a enterprise grade enterprise system.
You need to know about isolation levels which depend on the type of guarantees a database can give you.
You need to learn about SQL extensions -- such as those made by the T-SQL language. These extensions allow you to program complex logic easily.
Upvotes: 5