Linked Server. Dont show ip or dynamic dns
Hello, I want to make a link between two sql servers 2019. My server is a local machine, the other server is a virtual machine in cloud. I can connect the virtual to the local very easily but the ip shows up. Can i make the link and have my own…
Hyper-V 2019 SQL 2016 Std on Windows 2012R2 slowdowns
Hello, Environment: Hyper-V 2019 256GB RAM, SQL 2016 fixed memory not dynamic 128GB on Server 2012R2. Only 2 VM's on the host, 10Gb nics (Broadcom), FC storage.CSV's. After several days, 4-5 SQL slows-down to a crawl, queries and writes. SQL is…
Unable to import Sybase ASE native data file using bcp
Hi, I have a requirement to import native BCP file from Sybase ASE to SQL Server. Can anyone please advise on this? Thanks.
Arquivos MDF
Bom dia, tenho um banco de dados sendo o arquivo com 800Gb, e o disco onde ele está armazenado está praticamente cheio. Gostaria de saber qual é a melhor pratica para isso. Criar um novo drive, criar um novo MDF com autogrow e o arquivo atual…
Query takes long time to run
SQL Server: 2014 Problem: I am running a query that joins 3 views and produces results. Query takes over 8 minutes to run, but it runs without an error and produces correct output. Can you please take a look at my query and tell me why it takes 8…
Is there a way to auto-create all of the columns in a tablix?
Is there a way to auto-create all of the columns in a tablix? I have a SQL view with 100+ columns that the user wants to see in a spreadsheet created from an SSRS report and I do not want to manually create each column for the tablix.
Just show last date with Report Builder 3.0 custom report
Is there anyway to just show the last date something was added within the report builder as in reports I am getting multiple results when I just want the date of the last one added.
Backup and Restore Database - Affect on Full Text Indexes
We are planning to move a database from SQL Server 2008 R2 to a SQL Server 2016 instance. This database has a few Full Text Catalogs, with all the indexes part of the PRIMARY file group. When we perform a Full backup and restore on this database, will…
Create SQL functions with parameters
Hello, I have a lot of sql scripts which use functions like "string_agg" and "concat_ws". those funcations are available from sql 2017. now I would like to create some backward compatibility for MSSQL 2016 and earlier. I tried if I…
SQL CLR Types does not show up in Registry Editor
The administrator has installed and uninstalled the SQL CLR Types on a coworker's machine multiple times and when we search for it in the Registry Editor it isn't there. We keep wasting IT's time, and I figure I should ask the forum before asking again.…
SQL Server 2008 R2 Support extension
Hello, Our organization is using SQL Server 2008 R2. We do not wish to upgrade it to latest version due to cost implications and dependency on the associated application version. I read that extended support ended for SQL Server 2008 R2 ended in July…
Table in sql server 2017 takes alot of time to update/insert few rows
Hello I have a table in sql server 2017 that has around half million records and it is constantly used via website. Select statement are very fast over it or over its views,but update/insert of 1 or 2 rows takes a lot of time sometimes 1 row needs 15…
Getting an Intermitent issue with Linked Server between 2 On-premise SQL Servers
Hi All, Every now and then I am getting this issue and not sure where to look into it..? _Master_ODS:Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source:…
Error during the registration of a CLR assembly in SQL Server 2017 which references other assembly
I got the following error when I try to deploy my DLL which references other ThirdPartyDLL. Msg 10300, Level 16, State 2, Line 4 Assembly 'MYDLL' references assembly 'ThirdPartyDLL, version=300.1.0.1, culture=neutral,…
File System Error - Errors in the metadata manager. Processing for the database will be disabled because an error occurred while loading the cube-user database cryptography key.
SSAS DB Synchronization job is scheduled to synch using a XMLA script via SSIS. This synch the SSAS DB 'ESSJMT' from process server ( Source ) to Query Server(Destination). When it failed , server logged below error. And when I tried to run profiler…
Extended Events to trace Foreign Keys becoming untrusted
I am trying to find out what is continually setting the Foreign Keys and Constraints to untrusted. I've setup an Extended Events session to trap Alter Table events but it's not catching it. How can I trap this using Extended Events? WHERE…
AlwaysOn reads on readonly replica and latency
Hi all, On an sqlserver2016 alwayson replica in asynchronous mode with readonly activated, If I have a long query (several minutes) selecting datas, are the logs still applied or is it waiting the end of the query to apply the new logs and keep data…
Can't see table relationship while create ER diagram for SQL database
Hi There, I'm trying to generate ER diagram for one the SQL database. When selecting tables, I can see only tables but can't see table relationship. Please help me. Regards, Ken
Find what I am looking for
This was my query page url: https://learn.microsoft.com/en-us/search/?terms=sp_enumerrorlogs I got: "8,300 results for 'sp_enumerrorlogs'" I searched 5 or 6 pages without encountering "sp_enumerrorlogs" in the article…
VB.NET ReportingService2005 QueryDefinition.CommandText
I would like to know if there is a good example of ReportingService2005 QueryDefinition.CommandText using vb.net. My goal is to retrieve / get the SQL within the rdl report. I found this Link but no examples how to use it. any suggestions is…