by kad1r
4. March 2010 14:32
As you know I bought a new harddrive and I reinstalled my OS (Windows 7 32Bit). I also reinstalled SQL Server 2008 and Visual Studio 2008. When I try to attach my databases I got "Operating System Error:5". There are two solutions.
1. Right click to the SQL Server Management Studio and click "Run as Administrator".
2."Control panel->administrative tools->services-> SQL Server at the properties and choose "log on as: local system account and also choosed to allo service to interact with desktop".
Second one is worked for me but first one was not work.
by kad1r
22. February 2010 13:15

Basic Information about Linq2Sql Profiler:
Linq to Sql Profiler is a real-time visual debugger allowing a development team to gain valuable insight and perspective into their usage of Linq to Sql.
Cognitive application awareness
Visual insight into the interaction between your database and application code.
Analysis and detection of common pitfalls when using Linq to Sql.
Analysis is delivered via perfectly styled SQL and linkable code execution.
Supports .Net 3.5 and .Net 4.0
by kad1r
31. January 2010 22:51
Here is another good video tutorials for SQL Server 2008. It's very useful.
http://rapidshare.com/files/328643430/AppSQL.rar.001
http://rapidshare.com/files/328643304/AppSQL.rar.002
http://rapidshare.com/files/328643329/AppSQL.rar.003
http://rapidshare.com/files/328644412/AppSQL.rar.004
http://rapidshare.com/files/328644237/AppSQL.rar.005
http://rapidshare.com/files/328645206/AppSQL.rar.006
http://rapidshare.com/files/328643445/AppSQL.rar.007
http://rapidshare.com/files/328643170/AppSQL.rar.008
http://rapidshare.com/files/328644814/AppSQL.rar.009
http://rapidshare.com/files/328643026/AppSQL.rar.010
http://rapidshare.com/files/328644708/AppSQL.rar.011
http://rapidshare.com/files/328643269/AppSQL.rar.012
by kad1r
30. January 2010 09:58
My database take offline itself and I can't change its situation. I restart sql server and sql service but still not working. Then I found a easy and short way. Write this code for take it online. After it goes online immediately take a backup ;)
sp_dboption 'your_db_name','offline','false'
False means it's online, true means it's offline.
by kad1r
30. December 2009 14:54
Truncate Table Your_Table_Name
It will delete all data in your table and if you have identity and auto increment variables, they will all reset.
Enjoy.