Profile Trace prior to upgrading 2008 - 2017 - Hi I am looking for a tool that can look at a profile trace file of a 2008 server's activity and...
Number of employees active per date - Hi, I have a very simple table create table #employee ( EmpNumber int, HireDate datetime, TerminationDate datetime ) insert into #employee (EmpNumber, HireDate, TerminationDate) values (12, '09/02/1986',...
SQL Assignment - Join 2 Tables - The data set that I have has 2 tables. One (trips) contains the start and end date in DATETIME format...
Match vertical records to next greater date to find datediff - I need to find the amount of time a user spent watching videos. I have play/pause actions recorded with time...
T-SQL Multiple Rows into One Row - I have the following rows UserShiftID RowID StartDateTime
Where condition for fiscal year - Hi, I am using below query to get the data by fiscal year . I want to get the data for only...
upgrade from 2014 to 2016 - we need to migrate our sqlserver 2014 to 2016 this is the current situation: 2 nodes active-passive ms failover cluster on windows...
Which index will perform better - I have a table with about 12M records. Between the columns, there is a datetime field D and a bit...
Best technique for shutting down VM upon which MSSQL is running - We're looking to establish an official server shutdown order, in case of an emergency. All of our MSSQL instances are...
SQL Server wont Start - Hi Guys Thought I would ASK I have a sql server instance that wont start Tried all the local system accounts...
Enable TLS 1.2 - Cert Required? - Hi, Trying to setup TLS 1.2 on our DB servers. I am using SQL2014 SP2 - so good there. Do I have...
Database refresh from Production DB to Test DB in Sql server 2014 - Hello, I would like to know the what's the best way i can do Database refresh from Production DB to Test DB...
Let SQL do the work ? - Long time reader, 1st time poster here. I'm trying to build a stored procedure that creates a table that looks...
View Query Taking more time - I have created a view using below tables. This view takes a lot of time for returning output. I am...
steps for performance tuning of a sql server - Hi I just wanted steps /how to troubleshoot sql server from perfmonace point of view or which is particualr query...
User Defined Function for following scnario - Dear All, In my scenario, i need to generate string like AAA,AAB,AAC.........ZZZ My input parameter is just Total count of records Example declare @countRecord...
Record count in dataset is different that excel exported record count. - All, I've got a query as an embedded data set in a report on SSRS2012. When I run the SQL...
Run New PowerShell Process As A Different User - Hello, I'm trying to create a PowerShell script that will run a new PowerShell Process as a different 'Windows' user. The following code seems...
How do I friggin' connect to SSAS via SSMS? (cryptic errors galore) - Hi there -- I'm trying to connect to an SSAS server via SSMS (the preferred client I'd guess but who knows). I'm...
Remove DATE ONLY from datetime column - Hello, I need to remove DATE from a date time column in SQL 2005? All I keep finding on Google is...