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

SQL Server 2012 database connection loss if the application is kept idle

I am using a vb.net application. My database is SQL Server 2012. This application is used by 10 to 12 users from different PCs. If I leave the application idle for 6 or 7 minutes then there is database...

View Article


Mount offline MDF file to SQL Server

I get an offline MDF file from another computer, and copy it to my own computer. How to mount it to the SQL Server on my own computer so that in SQL Server Management Studio I can access all its tables...

View Article


Execute script containg sql agent token through SQLCmd

I have simplified my issues so that it can be reprod by anyone .  I have a sql agent job with powerhsell step with below code -$sqlInstance = "$(ESCAPE_DQUOTE(SRVR))" $sql_conn = New-Object...

View Article

Firewall changes and port number for sql server 2012

Hi Experstwhat port number should the developers request access to  a sql server named instance which is installed on port number 1444is it TCP or UDP port ?please advise me Thanks

View Article

how server can establish a query plan for a view as soon as the view is saved.?

based on the following MSDN ,it is say"A database server can establish a query plan for a view as soon as the view is saved.""Query plan generation   A query plan is an internal strategy by which a...

View Article


The performance is worse in Production server

Local laptop 8 core, 8G Memory, a procedure run 17 minutes Production server 12 cores, 32G memory, the procedure run over 50 minutes.I restored the database backup from production, the same procedure...

View Article

SQL Server 2008 Developer Edition still available?

I need to do some development for customers with 2008 Enterprise, so I do NOT want to get into 2012 edition in case there are some backwards compatibility issues.  Is it still possible to purchase and...

View Article

Tables with more than milions of rows by months

SQL Server 2008it is planned to create a table with some columns that will be populates by around 600 millions of rows per months.How to mangage a large table taht should grow 600 milions of row per...

View Article


Single User Mode in SQL LocalDb 2012

Hi,Is it possible to run SQL LocalDB in single user environment to restore master database? I have access only to sqlCmd tool.I tried following from DOS window."C:\Program Files\Microsoft SQL...

View Article


Data warehouse File groups and Table partition designing

Hi Experts,Project: Datawarehouse migration from Oracle to SQL Server 2012 In Oracle Number of Schemas in Oracle - 6 Tables: Each Schema has 3 partitioned tables and three unpartitioned tables Every...

View Article

set maxdop > # logical processors?

Is there a way to set maxdop to a value greater than the number of schedulers on the system?  I've got a VM with 4 vCPU that has a fairly low user concurrency but the queries that are run require lots...

View Article

application connection to db problem

Hi, we have an application that tries to connect to backend SQL server database, but the applicaiton got error:Login failed for userdomain\myuser. domain\myuser is an application account used to...

View Article

SQL Server 2012 Update installation fails

Windows 7 64 bit - I had SQL Server 2008 and SQL Server 2008 R2.  I uninstalled SS 2008 and tried to uninstall SS 2008 R2.  The SS2008 uninstalled fine.  The R2 said it uninstalled, but was still...

View Article


Backup Maintainence implementation in multiple instances

Hi All,We have backup maintenece plan to implement in multiple instances(around 30 to 35 instance).Backup StratergyFull backup  - Every Friday Evening 7 PMDiff -- Every day onceTlog - every 6 hrs...

View Article

Image may be NSFW.
Clik here to view.

MSSQL 2000 SQL Agent Jobs view and modify

Hi ~ I would like to create a login which can only view and modify the SQL agent Job.I grant the login as db_owner already for msdb already. But there is still error on it.

View Article


How to get execute user information from "sys.dm_exec_sql_text"

Hello,Some day ago, my database lose data. Somebody delete rows in table by "Microsoft SQL Manager tools" so i can't trace what they do.I using SQL, get history of statement executed. But how to know :...

View Article

Is there any Microsoft product for In-Memory Database?

 Hello AllIs there any Microsoft product for In-Memory Database System like Oracle's TimesTen database?I have searched and found something called xVelocity,,Whether it is equivqlent to TimesTen...

View Article


Image may be NSFW.
Clik here to view.

Cardinality estimates on a parallel join are wrong

Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...

View Article

Why restore of database.bak fails?

I have clean SQL Server 2012 and restored database from bak file created in another server. Restore was succesful.Now I made new restore for the just created database from same bak file. It fails.It...

View Article

Computed Column in the include of a Non Clustered Index not working as expected

Hello,I have a table with a text field containing up to 30k characters. Since I cannot use this field in the include of my indexes I have created a persisted computed column that cuts down to total...

View Article
Browsing all 12554 articles
Browse latest View live


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