Granting permissions.
Hi Experts,I am need to grant view definition permission to view all the stored procedures of around 50 database to a user, for which I have used EXEC master.dbo.sp_MsForEachDB 'USE [?]; GRANT VIEW...
View ArticleWhy are transactions long running?
My stored procedure has a transaction blog. I pick up a record from a database and process it in that transaction block. I noticed that my transaction log has grown in gigabytes. But my transaction...
View ArticleSQL Database Restore issues
 trying to restore a database but it error said "the database is in use". So, I took the database offline so that I can restore the database. But it is taking over 1 hour to take offline. Can I stop...
View ArticleWhy is the transaction log file not truncated though its simple recovery model?
My database is simple recovery model and when I view the free space in log file it shows 99%. Why doesn't my log file truncate the committed data automatically to free space in ldf file? When I shrink...
View ArticleFatal error 823 occurred at Apr 20 2015 8:04PM. Note the error and time, and...
Hi Gurus,When am connecting to SQL Server instance am getting below error message.Error Message:Warning: Fatal error 823 occurred at Apr 20 2015 8:04PM.Note the error and time, and contact your system...
View ArticleEdition Question
I have been using SQL Server 2008 R2 Standard via my current hosting provider. Â We are moving to a new host - and they offer licenses for both STANDARD and WEB (SQL Server 2014.) I'm having a hard time...
View ArticleGeneral Question Index
Hi,I've a question on index.Say in a big sql query, which has join of two tables.SELECT A.COL1,A.COL2,B.COL4 FROM A INNER JOIN B ON A.COL1 = B.COL1 AAND A.COL2 = B.COL2General question , if I want to...
View ArticleLinking tables from MS Access
HiIs there a way to link MS Access tables with SQL Server tables so the client app sees them as tables from one database?I have tried linked server but it appears that it gets stale after a while and...
View Articlehelp needed to start learning to become DBA
Hi ,I am trying to become a DBA. i would like to know how and from where i need to start.Any books and software i need to download .Please helpThank you
View ArticleExport view to cell in excel template
Hi everyone,I accidentally posted this on the wrong forum section. Guessing this is the proper place for it:Just wondering - is it possible to take an existing excel template and insert the results of...
View ArticleWHY THERE's NO "REPORTING SERVICES"?
Hi,I'm trying to post a question about Reporting Services 2008 R2 displaying data from an Oracle DB, but SSRS is not in the "Forum Category" dropdown, and if I select "SQL Server" from this dropdown,...
View ArticleNeed SQL Server service packs installation procedure
Hey Guys,I am in the process of installing service packs to my SQL Server 2008 and R2 editions, I was searching for the installation procedure in technet for this but nothing was provided for this, I...
View ArticleChange the windows them with a Windows Batch file
I had no idea what to put this in.....I have been tasked with writing a windows batch file to alter the theme to windows classic for all users on a domain.It will be preferred if I use a registry...
View ArticleAccessing SSIS on Windows 8.1 machine
I'm running windows 8.1 with SQL.Server.2012 I've admin permissions on the PC but can't access SSIS because Access is denied like below. However the solution proposed below is not appropriate for me as...
View ArticleRevLogins can't be created with the given permissions in the source DB Server?
Hi All,https://support.microsoft.com/en-us/kb/918992Following instructions from the above URL I have executed the script on master database (Source: SQL Server 2005). Later a new stored procedure is...
View ArticleUnable to install SQL Server Management Studio 2012
Hi ,I was trying to install MS SQL Server Manager on Server 2012 R2 and I was facing an issue while doing so.Please find the attached screenshot for the same.Need help ASAP.Thanks
View ArticleQUOTED_IDENTIFIER when trying to replicate user permissions
I'm trying to add user permissions to a user on a database but I keep getting the following error. The user already has access to another DB on the same instance but when I try and copy the permissions...
View ArticleProblem regarding XML field value to XML generation
Hi Everybody,I am facing a typical problem. I am storing xml in an xml datatype field in a table. But when I am generating physical file from the xml field, '&' in the xml field is getting...
View ArticleStructure or syntax for query/filter
I need to find a 12-digit number in a column called "SequenceNumTxt", in a VERY long table.I can query the first n lines but need to add something like "WHERE [SequenceNumTxt]="123412341234"The above...
View ArticleServer 2012 and sql server 2008...
I have both running on the same machine, but the ASP pages running on the IIS reaches out through the network returning to the source machine to touch the database. I cant remember how to set the IIS...
View Article