Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
SQL Server is slow - I have a user who is complaining about a job he is running from the application server is slow. The server has 110 GB of memory allocated to SQL Server out of 128 GB. The job runs in 2 minutes everyday but today it is taking hours. CPU is staying below 10%, not much activity […] |
SQL Server 2016 - Administration |
What the symbols represent for ( newbie ) - Attach the database ER diagram , as you can see , there are symbols in front of the keys , eg. P , F , FK, key , red asterisk , two green lines , U etc , just would like to know what this symbols represent , what is its function ? is there […] |
Replication Needs Reinitialized after Server Migration - We migrated a virtual server with transactional replication publications to a new data center. We used CommVault server-level replication to move it. We were surprised when all the subscriptions started having the error "The initial snapshot for publication is not yet available". The servers for the subscribers (push subscriptions) were not migrated yet and […] |
SQL Server 2016 - Development and T-SQL |
SQL FileStream - Concurrency support - Hi team, We have already enabled a SQL filestream for storing API request and response contents in one of our audit table. It works fine in PROD. Now we want to add more traffic to it, earlier, the traffic comes from 1 API, now we want to enable Audit for other APIs with request content […] |
Calculating Intervals - I would like to check for eligible activities (is to take all activities between the last refuelling activity, and the current refuelling activity, and checking if the activities are eligible or not). It appears there are occurrence of multiple refuelling activities in an extremely short time frame. No activities between the transaction on […] |
ISNULL function - I have found an explanation of the "ISNULL" on here: https://www.w3schools.com/sql/sql_ref_sqlserver.asp What will be a good reason to use this function and spesificaly for views? |
SQL 2012 - General |
Noob SQLServer 2012 Question - Let me preface this with I am a sysadmin working on an SCOM 2016 install and have a question regarding an error message that keeps getting thrown via application event logs. An exception occurred while enqueueing a message in the target queue. Error: 15404, State: 19. Could not obtain information about Windows NT group/user 'DOMAIN\ACCESSACCOUNT', […] |
SQL Server 2012 - T-SQL |
Intermittent "nesting level exceeded" error - We're having a very peculiar problem with the "Maximum stored procedure, function, trigger, or view nesting level exceeded (limit 32)" error and I was just wondering if the circumstances rang a bell with anybody. I'm certainly not expecting any form of in-depth investigation - that's my job. Here are the details: We continually run some […] |
SQL Server 2019 - Administration |
Best approach for column data type alters for a large table? - What is the general opinion on doing column datatype alters on a large table? I've got a table (SQL 2019 if that matters), ~500m rows, 104g in storage that has 2 columns currently as datetime, that need to be expanded to datetime2 for a new implementation and increased timestamp precision. I am fairly certain that […] |
problem new dbrole with DDL Trigger - Hello, I create new db role only for some specific schema. This is normally working, but If I enabled our DDL trigger for checking some changes, then is error Msg 3616, Level 16, State 2, Line 23 An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, […] |
SQL Server 2019 - Development |
SQL Query Best Approach Recommendations - I have a little exercise and would like to know your opinion on the most effective/best way to approach. Please see the result I am looking for at the bottom. Thank you in Advance. DATA: DECLARE @Trans TABLE (TransactionID INT , BillDate DATE , ParentTransaction INT) INSERT INTO @Trans(TransactionID , BillDate , ParentTransaction) VALUES (50 […] |
Need to rearrange order of names from a fullname column to LAST, SUFFIX, FIRST - I currently have a FULLNAME field that is first last and suffix (Laverne Holley, LPN). I am trying to rearrange the name to be LASTNAME, SUFFIX, FIRSTNAME (Holley, LPN, Laverne) that is if there IS a suffix. Does anyone know how I can do this? Thank you! CURRENT OUTPUT: LAVERNE HOLLEY, LPN MEGAN WATERS DESIRED […] |
Substring charindex Mid - Get name within String - Hi, I am trying to get the name inbetween the forward slash / for the column Full List There are cases where there are no forward slashes so I will take the name that is there or there may be just one forward slash / and so I will take the name after the forward […] |
Integration Services |
MS Data Services not showing in Visio - Please assist? I have downloaded SSDT: I am trying to get it work with Visio 2017. The two components worked. When i restarted my laptop the SSDT dissapeared from my Visio Studio. What am i doing wrong? Unsupported This version of Visual Studio is unable to open the following projects. The project types may […] |
Design Ideas and Questions |
simple cardinality question - I am tracking users and user interests that a user chooses. As in a user_id will pick all their interests(golf, tennis, bowling...) User(user_id, attribute1, attribute2...) User_interest(user_interest_id(sk), user_id, interest_id, attribute1) Interest(interest_id, interest_description) So User to User_interest is One to Zero or Many. Interest to User_interest is One to Many. I seem to sometimes get confused going […] |