Connecting to sql server database mdf file without installing sql server on...
I am creating a window application that need to use sql server database. I want to install this application to client machine without installing sql server so that my application can still connect to...
View Articlesecurity issues for access view
Hi.Database Name: CRSS, and tables and views are belongs to dbo and RSS schema..there was new view has been created in under RSS schema and given read access to particular user.GRANT SELECT ON...
View ArticleAlways On Avail Group setup questions
Hello All, let me start by thanking Lydia Zhang and Shashank for your previous replies to my first posting on the forum. Very Helpful replies! Now I have another question and this one will be slightly...
View ArticleSQL server management studio not able to install
SQL server management studio not able to install. I downloaded it fromhttp://www.sqlshack.com/sql-server-management-studio-step-step-installation-guide/Also as per screenshot it always shows as...
View ArticleBack File Group and Restore File Group Issue
"Msg 3154, Level 16, State 4, Line 1 The backup set holds a backup of a database other than the existing 'DATABASE2' database. Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE is terminating...
View ArticleInvalid Object Reference messages
When you create a new table in SQL and then you begin to write queries or stored procedures that reference that new table, lots of red lines appear with messages including 'Invalid Object Name'...
View ArticleNeed to create an alias that includes the named instance of a SQL server to...
I'm having an issue where I need to decommission a SQL server in use by a few web and application servers without causing downtime. The server is a SQL 2008 R2 box and includes a named instance......
View ArticleSeparate Data & Log Drive on SAN storage environment?
Hello, We have virtual environment for our SQL Estate on VMWare and storage across SAN's. I have read articles about best practice saying place the Log file on a separate Drive to the Data files. I...
View ArticleSQL Server - Actual Memory Usage!
Hello, I am currently looking to find how much memory SQL Server is actually using. We have a system with 32 GB RAM and task manager showing it's using over 31 GB. I've come across this in the past and...
View ArticleNumber of Transactions during an interval!
Hello, There is a sale going to start our organization in couple of days time and the database is on SQL Server. The sale is going to last 5-6 hours and I've been asked to provide if possible number...
View ArticleSQL Server Database Project is rebuilding SYSTEM VERSION Table
We are using DB Project to manage our database and recently we introduce temporal technique to audit changes.For management purpose in DB project we create the base table and history table separately....
View ArticleSQL VM Question regarding vCPU allocation for SQL performance
Hey guys,Just looking for some advise or best practice, how many vCPU's should I allocate our SQL Server environment running 2014 standard. We have a total 5 db's in each location (2 locations, 2 SQL...
View ArticleMsSQL 2014 - 100% CPU Usage
Several times a day starts system query that consumes 100% CPU.This causes suspension server.I checked in Active Monitor witch query consumes 100% CPU.It's looks like that:select TABLE_QUALIFIER =...
View ArticleRemote connect to Windows Internal Database from another server
Hello,I have a WSUS server which has Windows Internal Database installed. Now If I have to manage the database using SQL Server management studio, then I need to connect using the Server Name as...
View ArticleRight-click in SSMS
Hi,I've been using SQL server proficiently for many years, but am not a DBA, and have just installed SSMS 2014 to manage an Azure SQL service. One thing I always used to be able to do was to...
View ArticleError on creating Database Diagrams
When i try to create data base diagrams , this error revealed Attempted to read or write protected memory . this is often an indication that other memory is corrupt (Microsoft.VisualStudio.OLE.Interop)
View ArticleYou are not database owner or system administrator
Hi,Customers complain regularly that this message appears when they for example create a table: "you are not logged on as the database owner or system administrator". The warning is actually correct,...
View ArticleFailed backup to Network Share with Managed Service Account
Hi,I have setup a managed service account for SQL backups, as per the guide here: https://blogs.msdn.microsoft.com/arvindsh/2014/02/03/managed-service-accounts-msa-and-sql-2012-practical-tips/I ran...
View ArticleHow do you create a linked server in SQL Server 2014 and connect to an Oracle...
I'm attempting to create a linked Server to an Oracle Database. It hasn't been easy. I've downloaded and installed the Oracle Instant client using this video:...
View ArticleSQL 2008 Agent service unable to run script file?
Hello, I have 2 files which are along the lines of: #1 - InitialBatchFileToCall_FTPGetFiles.bat - (Calls the FTPGetFiles.txt file)#2 - FTPGetFiles.txt - (Contains the FTP server, username-password, Get...
View Article