Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15911 articles
Browse latest View live

batch size for insert into tab1 select * from tab2?

database is in simple recover mode, but as tab2 is very big, the log is still very big, is it possible to set a batchsize for the sql insert into tab1 select * from tab2.if we can, say set it to 1M,...

View Article


Transaction log not releasing the unused space while shrinking

HI All,I am trying shrink a log file.DDCC sqpperf(logspace) - showing below resultsDatabasename  Logsize(MB)  Logspaceused(%)ABCD                  301183.9      1.811704However i took a log backup and...

View Article


MVCC/read_committed_snapshot and tempdb

We're looking to implement MVCC/READ_COMMITED_SNAPSHOT in our high-transaction databases. We understand from documentation that this will require more tempdb space to manage the snapshots of the data...

View Article

Is Connection Pooling Affected By Multiple Application Names?

Need consultation for the next question...I have large n-tier buisiness application, working with database with Linq-To-Entities (EDM). Every one from several hundreds of my WCF-methods create own new...

View Article

Database backup without Replication objects (for schema comparison purpose)

I want to perform a schema comparison between an attached database and a backup. The backup comes from a replicated database. The comparison (database -> backup) result script generates delete of...

View Article


SQL Server Maximum Memory setting

SQL Server 2008 R2 Accidently set maximum server memory to 0 (ZERO). Now there is not enough memory in default resource pool to recitify. Heeelp!

View Article

SQL server agent restart itself

Recently we have two SQL servers 2008R2 (SP1) experiencing a random restart of SQL agent. We are sure no one restarted but it restarted by its own and runs fine ever since. By looking at the error log...

View Article

Linked server 2008r2 to 2008r2 collation mismatch "An invalid tabular data...

the server linking to the linked server is robm(SQL_Latin1_General_CP1_CI_AS) has a DB of views that link to -> bentleysql(Latin1_General_CI_AS)when I try to query I get Msg 4012, Level 16, State 1,...

View Article


linked server to mysql can show tables but not select from table

Hi everybody, I have a question about linked servers. my procedure is as follows: I want to select data from mysql database through a linked server, I use a stored procedure that takes a query as...

View Article


Are there standard solutions for Change tracking and filtering large tables.

Dear colleagues,Let me explain our application first. We build and sell an ERP system. ERP systems are known for their large databases, containing thousands of tables with tables easily exceeding a...

View Article

SQL Server Timeout

Hi, we configured every possible timeout to 40 seconds. SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=DispatchData;Integrated Security=True; Connection Timeout = 40");...

View Article

SQL Jobs failing

I have a situation.For the past week, most jobs on our Development server, have been failing with the following error: Message Executed as user: SPIRIT\SRVC_SQL_AGNT. Microsoft (R) SQL Server Execute...

View Article

How to find empty views in a database in sql server2000

Hi all,how to get list of views which doesn't contain any records  in a database in sqlserver2000please help methanks in advance,kishor.

View Article


Lock Release in SQL Server

Hi All,In one transaction(Thread) i am performing one update and multiple deletes on a table,From other transaction(Thread) i am firing select query on the above table before committing above...

View Article

Firing custom assembly

Hello,I have an unsafe assembly that executes/exits any exe file the user sets upTo start an application would be:"EXEC sp_myassembly @path='notepad.exe", @start=1;"To exit:"EXEC sp_myassembly...

View Article


Server hangs

i had installed IIS 7.5  & SQL Server 2008 Std on Windows server 2008 R2 Std. over IBM Quad Core server with 12 GB RAMthe application is accessed from 18 locations over intranet wan and over 100...

View Article

Capacity issue

Hope I am on the correct forum for this: I am working for a small IT company and we have two virtual servers (Windows Server 2008) with SQL databases on them. I am a bit of a novice when it comes to...

View Article


Nightly Backup failing on only 2 databases - But backup when run manually

Hello,On our nightly maintence backup of our SharePoint 2010 server, two databases fail with the following errors. Indicates that the error is disk space but that is not the issue. All other databases...

View Article

Version of sql server

I have an issue identifying the version of software that was installed on my production server. When I run select @@version I get the following output: Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0...

View Article

Index Size - SQL Srvr 2000

Hi Techies,How to check SIZE of the Index for a particuklar database in SQL Server 2000. Need a SQL Query.MRVSFLY

View Article
Browsing all 15911 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>