decrease restricted growh parameter value in data file in database
By mistake I have increased the restricted file size growth parameter to wrong higher value. I want to make it less.Is it safe??Sql server is : 2008database : full recovery every hour log backup...
View ArticleSQL Srever multiple instance on same server
Hi Everyone, To maintan multiple version of sql server I have intalled sql server 2005/2008 R2 and sql server 2012 on same developement server. When I am opening any of the SSMS (2005/2008 r2/2012)...
View ArticleRebuild full text catalogue and Rebuild index,
Hi,I have been asked to do a rebuild of Full text catalogue as well as to do an rebuild of index on an specfic database whose fragmentation is already less only.Now can you help me know which has to be...
View ArticleSQL Server SP1 version mismatch
Hi alI tried to install SP3 then SP1 but it tells me the following (I will translate):La versión de la instancia de SQL Server Shared Component no coincide con la versión esperada por la actualización...
View ArticleCTE definition
IS the definition of a CTE stored in DB? If yes, then where. Most of the articles state that it is a dynamic object that produces temporary result sets which lasts only up to the query. IS it the only...
View ArticleWhich are your favorite DMVs?
Hi guys, I'm starting to get into the whole DMVs to help me monitor my SQL Server. The thing is I'm kind of new at them and there are so many. I was wondering which DMVs are your favorites and why?...
View ArticleSQL Server 2005 SP4 stopping when unninstalling Update Certificate Root...
Hi friendsI have a win 2003 Server r2 SP2 and SQL Server 2005 x86 Standard Edition SP4. I unninstalled the "Update Certificate Root". So My question is: Is possible this action could affect the SQl...
View ArticleSQL 2005 - dm_os_ring_buffers RESOURCE_MEMPHYSICAL_LOW results
Im using a query against dm_os_ring_buffers in SQL 2005 to find possible evidence of low memory issues. Credit goes to this...
View ArticleEnterprise licensing, instances, cores, etc
Say you're running a business offering "software as a service", and you need to run some kind of multi-tenant architecture. There are certainly some tradeoffs in ways to do that, but one of them is...
View ArticleManage Job CPU usage with Resource Govenor
We have a job that depending on data can be very resource intensive, we would like to restrict its CPU to 20% using resource governor - how can we do this since all jobs run as the same login?
View ArticleFour part naming vs OPENQUERY permission difference?
Hi,When connecting to a DB2 environment using the Microsoft OLE DB Provider for DB2, I sometimes run into permission issues:Using the OPENQUERY syntax, the query runs fine,Using the four part name...
View ArticleWindows Azure Table Service Signature Access From Program
i need to access the GET Query Tables operation in Windows Azure through RestApi.I am not able to get the signature of table service under version 2009-10-01.apart from i check all request and url is...
View ArticleAuditing Extracts data from staging tables
Hi ,My requirement is 5 source table is extracted from source system. loaded into 5 staging tables.after that i need one auditing table with 3 columns. tablename,sourcecount,stagingcount. once...
View Articleadding file to logshipping primary database.
what happens whyen we add data files to primary database of logshipping? how are they moved to secondary database server? can anyone please explain.thanks in advance.
View ArticleHow to interpret instance_name in Lock Timeouts/sec metric?
Hi, Am trying to get a deeper understanding on locks. I ran this simple query :SELECT * AS LockTimeoutPerSecFROM sys.dm_os_performance_counters WHERE counter_name = 'Lock Timeouts/sec' I see...
View ArticleRe:.MDF and .LDF
Hi team,we are restoring one database backup.that restore database i forget the .Extends like(.mdf and .ldf) if there is any problem for this.ex:restore database test from disk='C:\test\test13.bak'...
View ArticleHow to get a really unique transaction id in SQL Server?
For auditing reasons I have to determine the current transaction's unique id. Using sys.dm_exec_requests.transaction_id (or sys.dm_tran_current_transaction.transaction_id) doesn't work for me because...
View ArticleTracking Routines changes
Hi all,I have created script track all versions of SPs /views and UDF. My main target is to track these for three database that are in same server. These three database getting retored after few days,...
View Articledm_db_index_physical_stats - i want to query for all databases but im only...
Using SQL 2005Like the title says, I thought I could get a result that include ALL databases on the instance, not just the currently selected database. At least thats that the docs seem to...
View Article