Difference between WITH REPLACE and WITHOUT in restore
I am confused with Replace optionLet's say I have Database A with 100 records I want to restore a backup of a database B with 500 records on Database AWhat much data contains in db A aIf Restore with...
View ArticleHow to retrieve master key with TDE enabled?
Is it possible to retrieve the master key (password) if TDE is enabled? Can I decrypt without the master key and then re-encrypt again?
View ArticleSQL Server login from client with server name extremely slow since ~September...
Until last week I was able to access my SQLServer Express 2019 using the SQL autentification and the SERVER NAME. Suddenly the performance was extremely slow. Contacting the SQL Server from a Client...
View ArticleSQL to Excel
Hi,I need to do the following but not sure if it's possible in SQL and if it is, how I would go about doing it if anyone is able to help at all please. Each day, I will receive an excel file (CTR_DATA)...
View ArticleCan SQL Express 2008 R2 interact with SQL 2008 Standard Edition?
I/Net Seven is a building automation software in which standalone instances at different facilities maintain databases of their own passwords & trends, not much else, on SQL Express 2008 R2. On...
View ArticleHow to link Access Front Ends to SQL Server tables
Just starting to explore using SQL Server for Access back end databasesAfter much trial and many errors I am able to import Access tables into SQL Express 2017 from Access back end databasesThe back...
View ArticleWhile installing MS Sql server 2012 it hang at checking for update for long time
I have problem installing of ms sql server 2012 on my windows 8.1 64 bit processor.
View ArticleDoes admin need the license CAL for himself?
When purchasing SQL Server 2017 Standard No Open Government + 5 CAL licenses, does the server administrator (i.e. the one who installs and connects others to the database), but e.g. does notactivily...
View ArticleSQL Backup Package 50% complete
There is a scheduled differential backup on our SQL server that runs every day. The backup job is supposed to back up each database and to store the backup files on the server.When I checked "History"...
View Articlesqlcmd -v parameter does not seem to be working on Linux
I've installed sqlcmd on a Linux server: /opt/mssql-tools/bin/sqlcmd -? Microsoft (R) SQL Server Command Line Tool Version 17.4.0001.1 Linux Copyright (c) 2012 Microsoft. All rights reservedBut the...
View ArticleHow to get below query
Dear All,I have a table with one field name as City.Below are the data.City--------ABCDEFGHWrite a query or stored procedure or function?If a pass 2 , the query result will be belowA BC DE...
View ArticleSQL server and MS server 2012 Upgrade
Hi,We have installed 2008 MS SQL server Software and 2012 MS OS. i want to do the UPGRADE only and not purchase an entire license. where can i do that? and how? what pre-requisits are there?
View ArticleQueries about database shrink process and database initial size
I have few doubts or confusion about database data ,log file shrink process and initial sizeInitial size I had drive space issue and so so i checked database size was around 2 TB and initial size set...
View ArticleAudit Trail Tables
We have been asked to add audit trails to about 20 tables in our sql 2016 database to be able to identify who inserted, changed or deleted data in each table. I have seen solutions that use a single...
View ArticleCan I restored TDE backup database to a non-enterprise SQL Server?
I have TDE .bak files and I like to restore it to a non-enterprise SQL Server. Will I be able to restore? This is only for testing purposes only. Thanks!
View ArticleAvailability Groups Fail over Report
we have SQL 2012 availability group 3 node cluster, It has 5 AG groups and two group always be primary on node A and 3 groups always primary on node B, node C is for backups,Frequently 2 AG groups from...
View ArticleHow to visually group a star schema?
Hello, I have a multiple star schemas in the same project file. In the "Diagram" tab, I would like to enclose each star schema in a "box" for the sake of visual organization. Is there such a feature?
View ArticleThe server principal 'username' already exists.
I've removed the username from the Security/Logins. Now I want to recreate with the following code.CREATE LOGIN [USERNAME] WITH PASSWORD=N'Ir5zfuLcdZWDZUyqZPdPBRtItc/cnqxBPAcTUITzoc=',...
View ArticleLooking for help on my company DayEnd process and alerting
Hello and good morning to you all.In my company I am tasked with writing a SQL query to perform a few actions for our DayEnd processing. First off a little bit of information.Our DayEnd does not run...
View Article