Here's a few of the new posts today on the forums. To see more, visit the forums.
|
SQL Server 2017 - Administration |
Transactional Replication - Hi, I've setup some publications and subscriptions today and use a backup to start off the process ( init from backup ). Restored a backup to server Added in new subscriber using a backup file - it creates the subscription and SQL job etc ok no errors. But I just get this ( I've setup […] |
SQL Server 2016 - Administration |
Newbie Q: Restore fails with "Database in use" - I'm apparently very late to the game here - I intermittently (reluctantly) end up becoming someone's DBA and used to use dbforums.com all the time - great community, lots of great help provided. Looks like that ship sailed a couple years back! Anybody know what happened to them? That crap site in place of it […] |
How to monitor a stored procedure to capture execution times - Hi, I want to monitor a procedure, Sp_search, to capture what different parameters are passed and how much time it is taking for each run. Is there a way can trace once single stored procedure? |
SQL Server 2016 - Development and T-SQL |
Query Store - why is my query not in top resource consumers - Hello I've been playing around with some of the out-of-the-box Query store reports I have no problem using the standard Query Store views against queries that have been run, amount of times, plans, executions etc. I just struggle to find the detail in the standard reports I can see details if I know the […] |
Is SSIS really that bad? - Today we had our weekly team meeting. Part of my team is working on a new app to convert an ancient MS Access app into a WPF app. We're also introducing a new database for the new app. Thus we've got a need to migrate data from the old db to the new db. Because […] |
SQL 2012 - General |
SSMS - Results Tab - Keyboard Shortcut - Greetings, In the results tab, is there a keyboard shortcut to copy a whole column of data starting from row number xx? I currently achieve this via another method by selecting a couple of cells in a column at the appropriate row number and then highlighting them by using shift and the mouse wheel. Ideal […] |
NEED HELP - Hi all I am so happy to be part of our community. Hope to be shared your tips, knowledge cos I am new Ths in advance ^^ |
Update field in records w/ MIN timestamp - I have a query that selects the record with the MIN timestamp based on a several GROUP BY fields. The query works properly and returns 30,592 records. However, for all selected records, I want to update a Score field to a value of 1. When I try to run an update based on my select, […] |
Remove the middle of a string between wildcards - I have a field called 'jsonpayload' in a table called 'auditlog' that is populated with activity from logged on users of a website. Part of the payload includes the permalink for the page of the site (such as /randompermalink). The permalink can be any number of characters into the string, but always comes between "dealPermaLink:" […] |
SQL Server 2012 - T-SQL |
Minor code change will it make a difference. - Please let me know your thoughts on the below. Updated a small portion of the code. Just want to make sure it will give the same result. AND EXISTS (SELECT * FROM tbTask JOIN tbX_Dim_LatestVersion X ON X.X_ID = OD_X_ID AND X.X_Id = @X_ID WHERE Origin_ID = FI_ID) IS the below code does the […] |
SQL Server 2008 Administration |
How to upgrade to SP3 with multiple named 2008R2 instances on same server - I have a server with two named instances of 2008 R2, SP1. I have downloaded the upgrade executables from Microsoft to upgrade to SP3 and then do the Meltdown patch. Do I need to run each executable twice, one for each instance? If so, how? I tried looking for posts describing how to do this […] |
Upgrade from SP1 to SP3 on server with two named instances, run upgrade twice? - I have a server with 2008 R2 SP1 using two named instances. When I run the SP3 upgrade executable (SQLServer2008R2SP3-KB2979597-x64-ENU), do I run this once or twice (one for each instance)? I also realize that I need to run the Meltdown Patch executable, I presume also one time or two times? For my single instance […] |
Reporting Services |
Summing Value in a Group - I have a table with subtotals as well as line item details. I'm trying to get a sum of the subtotal values by each customer as shown here. I can't figure out how to write the expression to get the highlighted items. I should add that, while in this example the line items do add […] |
Integration Services |
Used Stored procedure in SSIS with different database name in DEV, Test and Prod - Hi, Can you please give me Idea, how can i use stored procedure in SSIS with different database name in Dev, Test and Prod ? In stored procedure, I am going to use source server as Phm_Dev ( Reading the data ) and load into Med_Dev (destination server) So when I move my SSIS In […] |
Unable to Open SSIS 2017 package - Hi, There are a couple of SSIS package (2017) version developed by another developer that are running flawlessly from the server. As the developer moved to a new role, he saved the packages in a folder in the server . I am unable to open those packages from the server. When i asked another […] |