Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
Unable to connect to named instance. - There is a server running SQL Server 2012 32 bit. This is the default instance. We can connect to this remotely. We installed sql server 2017 standard edition as new instance (64 bit) and named it as Dev2017 Issue :- I am able to connect to the named instance from within the server but not […] |
SQL Server 2017 - Development |
Powershell Step in SQL Job not returning full data - I created a sql job and have multiple powershell steps. Powershell step runs query on databases hosted on different servers. This has always worked for me and able to query databases and export data to csv files. This is first time I am running into an issue where it will only export 1 row and […] |
SQL Server 2016 - Administration |
Linked Servers Role - Hello, I have been asked a question which i am struggling to find information online. When you set up a linked server does the user referenced in a linked server automatically gets the db_ddladmin role, if not what role does it get? Thanks in advance. |
SQL Server 2019 - Administration |
SQL Server replication migration from sql 2012 to 2019 - Hello I need to migrate existing sql server 2012 replication to the SQL Server 2019 instance. Can anyone please help with a robust scripts to extract all the publishers and subscribers to run against the new environment (sql 2019) and getting the replication established properly? |
Failed code dcexec -u -s 3 -i "$(ESCAPE_DQUOTE(MACH))\$(ESCAPE_DQUOTE(INST))" - Hello, I cant understand what this code is doing, can some one please help me. dcexec -u -s 3 -i "$(ESCAPE_DQUOTE(MACH))\$(ESCAPE_DQUOTE(INST))" |
Issues with configuring audit of sensitive data groups in SQL Server - I'm attempting to configure the "sensitive" versions of the batch completed audit groups (SENSITIVE_BATCH_STARTED_GROUP/SENSITIVE_BATCH_COMPLETED_GROUP) that are listed in the doc for SQL 2019 https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions?view=sql-server-ver15 I have set up all the data classifications and now would like to set up the associated auditing. Issue is I can't select them in the UI (they're not in the […] |
PBALP User in SQL Server - Hi Everyone, Currently looking at tidying up some SQL servers and i have a number of local users (PBALP) being one of them i would like to drop. Is there a way i can check to see what if anything is dependant on that user? |
SQL Server 2019 - Development |
How to get weekly and Monthly view from daily in sql server - Hello All, I have a table like below. I need to get daily,weekly and monthly calls data from this. My out put would be like below Could any one please help what is the query to write here |
Row wise sum based on condition - Hi All, I have an input like below. mytable: id | name | no -------------- 1 | A | 10 1 | A | 20 1 | A | 40 2 | B | 20 2 | B | 20 1 | C | 20 1 | C | 23 3 | D | 15 […] |
why execution plan high cost on clustered index scan and how to mimize cost of c - I work on sql server 2019 i have clustered index scan 98 percent how to minimize it please i have execution plean have high cost on clustered index scan as https://www.brentozar.com/pastetheplan/?id=HkpoQtlwq table i have issue on it CREATE TABLE [Parts].[FMDMaster]( [ID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL, [ChemicalID] [int] NULL, [HashSubstance] [nvarchar](3500) NULL, [HashMass] […] |
slow execution WHEN update chemical id on table chemicalhash so how to enhance i - I work on sql server 2017 i need update chemical id on table chemicalhash based on 3 columns compare to table fmd chemical compare 3 columns strSubstances,strMass,strCASNumber from table chemicalhash with 3 columns strSubstances,strMass,strCASNumber from table fmdchemical to get chemical id but issue slow so how to enhance it CREATE TABLE [dbo].[chemicalhash]( [id] [int] […] |
Retrieve last 12 months - I have this code in mssql that i want to exclude de value 0 when it appears, so don't bug the average value of the query, also the query return this even in days like the one used n the code below, how can in fix both of the problems the return of the date […] |
Amazon AWS and other cloud vendors |
AWS Beginner questions - I'm having some trouble wrapping my head around the relationship between EC2 instances and EBS storage/S3 storage. From what I've read, it seems like EC2 instances tend to be initialized with EBS storage (which is charged per hour/GB). On the other hand, guides also recommend that, after setting up my instance with all the packages […] |
General Cloud Computing Questions |
Options to access/modify cloud data? - Hi, Novice here, so please forgive my simple question. I have previously run Microsoft SQL server. I then ran a Windows service to access and manipulate that data based on business logic. For example "view all records in a particular table, then update a field/col, then copy them to another table, then delete them". Repeat […] |
Integration Services |
EXECUTE SSIS Pacakge from command line with environment variables - hi, I am trying to execute ssis package from command line. I also tried to pass environmnet variables like below. Not sure what is wrong? Also is there a way that we can execute package using sql? if so how? example: Command line : dtexec/ISServer "\SSISDB\Folder\Foldername\"Packagename" /Server "Servername" /ENVREFERENCE "Environmentname foldername" This above command is […] |