Delete DB, where physical files are missing - Got a situation, the storage location where the physical DB files existing is been deleted by storage team. Now, i'm...
SSMS version for SQL Server 2016 - We are in the process of upgrading our servers from SQL Server 2008R2 to 2016. What version of SSMS would...
Reset SA password - Hi, I have RDP access to windows server but i doesn't have access to SQL instance. I doesn't have SA password. How to...
Using Date in Where Condition - I Have issues in selecting records when using date in my where clause 1 ) I am trying to fetch records for...
Having clause - Hi, Need to add having clause as tansaction_count>1 after group by clause in below query . Transaction_count is exist in table dbo.TABLEW Any...
Replication between versions - Howdy all. I am attempting to set up transactional replication between on prem SQL 2014 SP1 to AWS SQL server 2016....
query format - CREATE TABLE .( NULL, (50) NULL ) ON INSERT INTO .(,) VALUES(1,'Architect') INSERT INTO .(,) VALUES(2,'Developers') INSERT INTO .(,) VA
SQl to calculate average time for call centre agents - A row is created in the CALLSTATUSLOGGING table every time an agent's state is changed. A row is also inserted...
Comparing 2 functions for any differences in the result set. - Recently, we've done some optimizations to the functions and now the BI Manager has tasked me with a request to...
Determining cost threshold for parallelism - I have this query to find the cost of plans that use parallelism, but not sure how to proceed as...
SQL 2005 Migrate to SQL 2012 in VM Server ISSUE - We are migrating SQL Server 2005 database to SQL Server 2012 on VM Server. The VM Server OS is Windows 2012...
SQL Server 2012 PREEMPTIVE_OS_CRYPTOPS Wait - Hi, I do not see any documentations by Microsoft on SQL Server 2012 PREEMPTIVE_OS_CRYPTOPS Wait type, any suggestion on this as...
SSRS average column group value for a row group - Hi All, So I'm having a fight with Reporting Services at the minute when trying to compute an average at the...
expecting ID or quoted_ID. Help! - error i'm getting from the below query: Incorrect syntax near '@DatabaseName'. DECLARE @DatabaseName as NVARCHAR(200); DECLARE DatabaseCursor CURSOR FOR SELECT Name FROM sys.databases WHERE...
Compare two columns - Hi guys, need quantity from previous row , when prev_orderid=orderid from previous row. for ex: If prev_orderid=44086564 matches orderid = 44086564 then i need to...
Require help with creating a view with YTD balances and period - Hi, I have to implement a view that has account number, year, period (month), balance, and Year-end balance. We already have...
Stored procedure to pass date ranges - I would like to write a stored procedure that use the date range for the different sum and count functions....
Long-running script with IE11 - Hi guys, I am currently facing an issue with SSRS 2008 and I will like to get your support regarding this. I...
failure precedence - Hello, Package has several tasks connected to each other... I am introducing a failure precedence so I set the task1 to fail...
Argument "" for option "maxconcurrent" is not valid. The command line parameters are invalid. - Hello We have a strange problem, using SQL Server 2016, project development model. High level, the flow is as follows: Generate a...