milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
      • Italy2022
      • Côte d'Azur 2024
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home
  3. MS SQL

Why is SQL Server 2008 blocking SELECT?

Details
Written by: Stanko Milosev
Category: MS SQL
Published: 21 January 2010
Last Updated: 04 July 2013
Hits: 5483

If you have problem with your SQL Server, like it locks table, or your select statement takes too long, or executes never, tham try something like:

 

ALTER DATABASE MyTableName
SET ALLOW_SNAPSHOT_ISOLATION ON

ALTER DATABASE MyTableName
SET READ_COMMITTED_SNAPSHOT ON

Solution I found here, also you can read this article from Microsoft.

Data source name not found and no default driver specified

Details
Written by: Stanko Milosev
Category: MS SQL
Published: 02 September 2009
Last Updated: 13 September 2012
Hits: 5443

If you are using Microsoft drivers for connection to MS SQL 2008, and receiving this kind of error, then, you will need to download new drivers from here. After that you will need to download sqlncli.msi (you will get the link in sqlsrv_errors())

Alt + F1

Details
Written by: Stanko Milosev
Category: MS SQL
Published: 29 April 2009
Last Updated: 13 September 2012
Hits: 5928

If you want to see table properties (sp_help) than in query editor just select a table you want to see properties and pres on the keyboard Alt + F1

List all tables in a database.

Details
Written by: Stanko Milosev
Category: MS SQL
Published: 03 December 2008
Last Updated: 04 July 2013
Hits: 5882

How to get list of all tables in MS SQL Server?

 SELECT * FROM information_schema.Tables where table_type = 'BASE TABLE'

From here.

  1. Limit aka Paging

Page 4 of 5

  • 1
  • 2
  • 3
  • 4
  • 5