Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
SSMA 8.6 Unable to find functions in extended stored procedures - I have an instance of SQL Server 2017 (Developer) installed with SSMA for Oracle Extension Pack 8.6. Whenever I try to execute one of the three extended stored procedures from the Master db, I see the same error: "Could not find the function xp_ora2ms_versioninfo2 in the library Microsoft SQL Server Migration Assistant for Oracle Extension […] |
TLS on SQL Server 2014 - Hi , I need some expert advise from the team here. There is a requirement to enable TLS on SQL Server -Microsoft SQL Server 2014 (SP3-GDR). I have never implemented this and no clue how to start with. I see some topics saying to just enable Force Encryption - to YES, in the SQL server […] |
2017 SE - questions on failing over only 1 (of many) AG then connecting to it. - I am just getting my feet wet with always on availability groups, trying to learn as I go along. A company I am doing some work for just deployed MSSQL 2017 SE to a 2-node always on installation, with the intent of migrating a number of databases currently on MSSQL 2008 & 2012 to it. […] |
SQL Server 2017 - Development |
Merge statement - matching ON all columns - Dear SQL users, I have a need to refresh tables from Source to Target. there is no particular 'key' or combination of 'key-ish' values for my ON portion. All I am doing in lieu of that is to match on all columns. on sourcetable.col1 = targettable.col1 and sourcetable.col2 = targettable.col2 and so on and so […] |
SQL Server 2016 - Administration |
Running generic query for table information - Hi, I want to run the below query to get information about the tables and columns for better understanding. However my fear is since the databases are in Tb's and has many tables will this query cause any intermittent slowness or any blocking since the system is busy when I am running this query. What […] |
Instance level trigger to store login information (who created what) - Hello SSC, I am looking for a simplified way to track which user created which login, Surprisingly enough, the sys.logins table does not have this information. My company has SQL environments ranging from 2008 R2 - 2017. So this is going to be challenging. At the moment, we have no way in knowing who created […] |
Administration - SQL Server 2014 |
REPLICATION, Dropping Subscription Taking A Long Time - USE Published_DB; EXEC sp_dropsubscription @publication = N'Published_DB_Publication', @subscriber = N'all', @destination_db = N'Published_DB', @article = N'all'; I have a fairly large DB. It is replicating approx 7000 articles. When I run the script above, it's taking a long time (now 1 Hr+). Any ideas what I need to check here? Adding, I have all REPL […] |
Linked server - I have created linked server from instance A to instance B. when i do a test connection it is successful but when i try to do a test connection from outside the server it shows login failed for user NT authority\anonymous logon. Any inputs? i registered SPN for services in both instance A and […] |
SQL 2012 - General |
Table self-join for derived columns - Hi, I have a requirement to derive additional columns and populate the values by doing a self-join. I have tried to use self-join and cross apply but not getting the desired results. I have attached the desired result format and also included the DDL and sample data. Could somebody please help in this regard. Thanks. […] |
SQL Server 2019 - Administration |
Question upgrading - Hi, I see the post of going from 2012 - 2019 but we were wondering if we should go to 2017 or 2019. Currently, we only have about 20 users and do not do anything with warehousing; of course, both could change down the road. Someone said that they found it to be much less […] |
Business Justifications for Upgrading SQL 2012 to SQL 2019 - You'd think it's obvious why we need to upgrade from SQL 2012 to SQL 2019 (4 versions), but I have to justify the upgrade to non-technical executives. I'm looking for good blog posts/white papers/articles that enumerates reasons why staying on SQL 2012 is not viable, and why upgrading to SQL 2019 is necessary. Any suggestions? |
SQL Server 2019 - Development |
Constraint on multiple columns - Hi, I want to restrict users from adding duplicate rows. Is there a way to put one constraint on multiple columns, or use a trigger to do this, maybe BEFORE insert/ BEFORE update? Thanks S |
How to use next record's date as End date of current record? - I have a select statement which its result is something like this: I would like to have an end date column which is the next start date. I would appreciate it if someone could guide me. |
Global Unique Identifier Field - I was wondering if someone could give me some good examples or explanations of why I would use the Guid type for a column in my table. Thanks !!! |
SQL Azure - Administration |
Migrating Azure VM from unmanaged disks to managed disks. - I have worked quite a bit on physical and VM's. Trying to get my hand dirty in Azure world. I was given a task related to performance , i noticed all the disks were created as unmanaged and i confirm via various stress tests and comparing different environments that this could be one of the […] |