SQL 2008 R2, Standard Edition, Way to give higher priority to a user (or a...
SQL Server 2008 R2 Standard Edition 64-bit running on Windows Server 2008 R2 64-bit.When we went from SQL 2000 to SQL 2008 we have some queries that no longer perform as well as they did in 2000.We...
View ArticleHow to delete the Folder from sql server 2008
Hi all,I was trying to delete the folder from sql server 2008 with the below scriptDECLARE @path VARCHAR(256) -- path for backup filesDECLARE @cmd VARCHAR(8000)DECLARE @folderName VARCHAR(256) --...
View ArticleFiring trigger with partioning function
Hi,We are looking at implementing a partioning scheme on a parent-child relationship but the column we want to use is only in the parent table. Is it possible to get a trigger to fire when the...
View ArticleRecovery model for system databases.
I observe the default recovery model for master,msdb and tempdb is simple.Also, I know tempdb requires no recovery to simple is fine.Master database contains metadata and can only offer full database...
View ArticleCreate new user in SQL Server DB
Hi - this should be a very simple task but I am really struggling as I am not a DBA nor do I have any formal training. I have admin access to a SQL Server DB and can login successfully with no...
View ArticleApply transaction log to new production server from old server.
Hi, I have Transaction logs copied from A server to fileshare for every 5 min.I need to restore those transaction logs from Fileshare to B server. I can do with logshipping but my dba told that the...
View ArticleSQL 2008 R2 low virtual memory condition
Hi, we have a 64 bit server with 6 instances of SQL Server 2008 R2. The server has 32 GB and 12 cores. Each instance is configured to have an upper memory limit of between 1.5 and 6 GB. The primary...
View ArticleError trying to Start Remote Job via Linked Server
Source Environment: Win2K8R2 Std. SP1 X64 - SQL Server 2008 R2 Std. SP1 X64Destination Environment: Win2K3 Std. SP2 - SQL Server 2000 Std. SP4Description: I have created a stored procedure on the MSDB...
View ArticleDeprecation of Trace -T272
Anyone knows if trace flag -T272 is going to be deprecated? I am using it to avoid the jumping of identity value in SQL 2012...
View ArticleDTA command line utility never completes (SQL Server 2012)
I'm trying to use the command-line dta Database Engine Tuning Advisor utility to analyze trace files from SQL Server Profiler (SQL Server 2012). This works fine with the GUI tool, but the command line...
View ArticleSQLCMD output - how to suppress (or change) the text that's inserted between...
I'm using sqlcmd.exe to run a SQL script and route the output to a file. The SQL script that I'm running produces as it's output another SQL script, which can then be run to import/update information...
View ArticleSQL Server Agent errors during shutdown: The requested security package does...
We just installed SQL Server 2012 on a development server (new server with a fresh install of Windows Server 2012), and every time we reboot the server, we're getting several errors in the SQL Server...
View ArticleData Compare and Sync using Powershell on Visual studio 2010 box with SQL...
Is there a way to do data compare & sync (write updates to target) using powershell?I am using VS 2010 with SQL Server 2008 R2 for development. I use data compare feature most of the time. I am...
View ArticleCluster and service crash
I have a 2 part question that is somewhat related to each other.1. We have a 2012 SQL cluster set up on decent amouth of servers. They are all connected to the same switch. They are networked teamed,...
View ArticleActive directory
Hi Everyone,How the data in active directory gets stored?Are the data getting stored in SQL Server?I have googled is, but didnt found any articels. Thanks,Karthi K
View Article"Internal Query Processor Error: The query processor encountered an...
Hi All,I have an ETL job which runs daily on SQL server. It failed last week while trying to read data from a database which is present in the same server where ETL job is also running with the...
View ArticleAlways On New Availability Group - Full backup is required
Just trying to create a New Availability Group for AlwaysOn , I see the database is listed, in the status it says: "Full backup is Required. The database is AdventureWorks2012, i have taken a full...
View ArticleSQL Agent - Error Authenticating Proxy
I am having an issue when scheduling an SSIS package on a Production environment (via SQL Agent, utilizing a Credential/Proxy). I have worked through the steps below in a Test environment and have not...
View ArticleIntra Query Parallelism Issue
Hi Guys,I have a scenario where in a stored procedure I am having to get data from more than 20 tables and insert them all into one table by usingunion all . To get the attributes I am having to join...
View Articleparse a query
I want to know how to parse a query so that it will take different execution planI don't want the query should use the existing execution plan.Please suggest
View Article