Viewing 15 posts - 376 through 390 (of 5,590 total)
Here's another approach:
WITH cteEmpDates AS
(
SELECT ID, STARTDATE AS AnyDate FROM #EMP_INFO UNION ALL
SELECT ID, ENDDATE FROM #EMP_INFO
), cteDates AS
(
...
July 23, 2015 at 1:48 pm
GilaMonster (7/23/2015)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Fantastic Gail! Congratulations.
July 23, 2015 at 12:10 pm
SQL-DBA-01 (7/23/2015)
Hello ExpertsWithout going to services.msc / configuration manager, is there anyway to know the service account through which SQL server is running?
Starting with SQL Server 2008R2, you can run...
July 23, 2015 at 12:06 pm
SQLRNNR (7/23/2015)
dweil (7/23/2015)
July 23, 2015 at 12:02 pm
ScottPletcher (7/23/2015)
Btw, the WHERE clause can be improved to allow an index seek, if applicable:WHERE
LEFT(name, 5) = 'APTMP'should be:
WHERE name LIKE 'APTMP%'
Good luck with adding that index to the...
July 23, 2015 at 12:00 pm
TheSQLGuru (7/22/2015)
July 23, 2015 at 9:04 am
xtimesu (7/23/2015)
This is what the report looks like when I run it.. and then how I want it to look is...
July 23, 2015 at 9:03 am
MPF (7/23/2015)
I completely appreciate what you said and that if i don't understand what it's doing then don't use it.
Your write-up and description however is really very helpful indeed....
July 23, 2015 at 8:52 am
mpdillon (7/22/2015)
Delete from Information_Schema.tables where...
July 22, 2015 at 9:43 pm
tcronin 95651 (6/29/2015)
index #1 clustered index on column a.
index...
July 22, 2015 at 9:29 pm
xtimesu (7/22/2015)
Need query to provide rolling 12 month and prior year rolling 12 month. Example: If this is July I would want Jun 14-July 15 and Jun 13-Jul 14
I...
July 22, 2015 at 4:30 pm
greggg (7/22/2015)
tblCustomers
tblMachines
tblServiceOrders
tblMachinesServiced
tblCustomers contains...
July 22, 2015 at 4:26 pm
That's his signature... it's put on all of the posts automatically.
July 22, 2015 at 2:21 pm
MPF (7/22/2015)
WayneS (7/21/2015)
Ed Wagner (7/21/2015)
WayneS (7/21/2015)
The Length is from the first numeric value to the first non-numeric value.
The Width...
July 22, 2015 at 8:26 am
Brandie Tarvin (7/22/2015)
2 a.m. Email: Disk X on non-prod server test is full
2 a.m. Email: Disk Y on non-prod server qa is full
2 a.m....
July 22, 2015 at 7:35 am
Viewing 15 posts - 376 through 390 (of 5,590 total)