Viewing 15 posts - 3,376 through 3,390 (of 39,818 total)
Be good to see what you mean by grouping. Show some results. FWIW, this is why testing is a good way to get set up for queries: https://www.sqlservercentral.com/articles/using-tsqlt-tests-to-practice-queries
October 8, 2019 at 3:14 pm
That's the view of someone that sees these systems serving a few humans. These days systems serve other systems, humans around the world, and they can be live 24x7 for...
October 8, 2019 at 2:59 pm
I've run into people that were sure you couldn't index unless this was persisted.
October 8, 2019 at 2:55 pm
Fair point, and I'll reword.
October 7, 2019 at 5:55 pm
This does change some parameterization stuff, but I think it prevents simple mode, which I'm not sure would be used here. Not sure, and haven't dug into this as other...
October 7, 2019 at 3:15 pm
Your last sentence doesn't quite make sense. You can just let the output come back and use redirects >>, to put the data into a file.
October 7, 2019 at 3:11 pm
SQL Server doesn't track much by default. There is data in the DMVs, but all monitoring tools do is read this, aggregate, store, and manage data retention. If you don't...
October 7, 2019 at 3:10 pm
Looks I'm gonna lose. Forgot to check the lineup, and now need a new kicker. Not that that mattered.
October 7, 2019 at 3:01 pm
SQL Sat Memphis this weekend as well. Lot of fun and enjoyed my trip.
October 7, 2019 at 2:57 pm
Hadn't seen that. I think the idea is that if you are using data as part of business to make money and storing in this SQL Server instance, you need...
October 7, 2019 at 2:55 pm
But it's easy enough to clean up. Just REPLACE(REPLACE(@sql, '1=1 AND ', ''), 'WHERE 1=1', ''). So if there are additional conditions, you remove the 1 = 1 and...
October 7, 2019 at 2:44 pm
FWIW, I'd try to stick with one table, and use flags in other columns for items like holidays, workday, etc. I'd make this more like a dimension table in a...
October 5, 2019 at 6:18 pm
This statement wasn't spurred on by the fact that SSMS 18.3.1 now tells you the complete time as a datetimeoffset(7) in the Messages Pane was it, Steve? Or just...
October 4, 2019 at 11:10 pm
OH gods, it has a
WHERE 1=1clause too. ??
This is likely built dynamically, so the 1=1 provides a basis for the query.
October 4, 2019 at 11:09 pm
Viewing 15 posts - 3,376 through 3,390 (of 39,818 total)