Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 4729 articles
Browse latest View live

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 Article


How 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 Article


SQL 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 Article

SQL 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 Article

Can 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 Article


How 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 Article

While 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 Article

Does 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 Article


SQL 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 Article


sqlcmd -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 Article

How 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 Article

SQL 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 Article

Recover MSI file

Dear Experts,MSI file is missing. How to recover it? Please helpKiran

View Article


Image may be NSFW.
Clik here to view.

Queries 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 Article

Audit 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 Article


Can 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 Article

Availability 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 Article


How 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 Article

The 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 Article

Looking 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
Browsing all 4729 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>