Viewing 15 posts - 1 through 15 (of 202 total)
You can use something like the below to indicate a total failure somewhere. At least in the testing phase.
DELETE
FROM dbo.star_wars_film
WHERE film_id IN (
SELECT film_id
FROM dbo.purge_test
WHERE purge_type...
July 14, 2019 at 11:01 am
As a near-senior citizen, I’d like to know how one goes about protecting and remembering 30 or 40 different accounts/passwords. Password vaults are only as secure as the password...
June 25, 2019 at 2:28 pm
I will still continue asking stupid questions about queries until I feel fit enough, after all I’m a junior BI Developer now
And that is the very reason Steve's approach...
April 12, 2019 at 3:47 pm
Some great points, Steve, but please don't go down the sensationalist/quasi-abusive route to spark debate.
April 9, 2019 at 9:06 am
Nice one David.
These issues come up time and again: the need for an environment that support honesty, while still maintaining accountability. The need to identify and learn from...
May 19, 2017 at 2:37 am
May 18, 2017 at 1:05 pm
One of my devs had exactly this problem a few weeks back. My advice was:
* always alias tables
* always prefix column name references with the table alias
* it's...
May 18, 2017 at 4:00 am
If you don't already enjoy your work, find a way to enjoy it. Whatever you're employed to do, you'll be better at your job; you, your colleagues and your employers...
March 30, 2017 at 2:37 am
Yup. If only politicians could adopt the same approach.
December 15, 2016 at 3:53 am
MMartin1 (9/15/2016)
We don't use AS in the table aliases, though, because that's usually pretty clear.
I find it clearer if AS is used consistently when aliasing anywhere. If I can...
September 15, 2016 at 11:18 am
Please note I'm looking at the layout, not the detail. Here's a suggestion:
USE TESTDB
GO
DECLARE @checkDate DATE = DATEADD(day, DATEDIFF(day, 1, GETDATE()), 0);
SELECT [Work Type] = d.WORK_TYPE,
[Date Opened] = CONVERT(varchar, a.ACT_DATE, 103),
[Time Opened] =...
September 15, 2016 at 7:37 am
Sue_H (9/14/2016)
In the old school habits for the database world, there would be no ON clause used at all. It was a matter of trying to figure out the joins...
September 15, 2016 at 2:16 am
drew.allen (9/8/2016)
Also, my approach can easily be used with derived tables, again being consistent. You're approach could quickly become cumbersome with derived tables.Drew
How?
September 8, 2016 at 10:07 am
Phil Parkin (9/8/2016)
September 8, 2016 at 6:59 am
Viewing 15 posts - 1 through 15 (of 202 total)