Viewing 15 posts - 76 through 90 (of 275 total)
I think 2FA can be good when it's well implemented, but a chore when it's not done well. For example, my bank sends a PIN to my mobile when I...
August 6, 2020 at 12:41 pm
Another point to consider; if the primary key is also a foreign key in other tables, there could be a significant impact in using one that takes up 16 bytes...
July 24, 2020 at 2:40 pm
All our SQL data changes have to be made via a script. The script is written by the developer and peer reviewed before being executed by the Release team. Obviously...
July 22, 2020 at 2:26 pm
INSERT INTO table2
SELECT col1, col2 FROM table1 t1
EXCEPT
SELECT col1, col2 FROM table2 t2
July 17, 2020 at 2:53 pm
I very proudly stuck with my "stupid" phone for many years precisely because the charge lasted over a week. All it could do was handle texts and phone calls (and...
July 17, 2020 at 12:56 pm
If the text part could appear before the number part, you could use Alan Burstein's pattern exclude function thus.
create table #temp
(
columnTextNumbers nvarchar(50)
)
insert into #temp (columnTextNumbers)
values
('3.5A'),
('5.50kg'),
('35.70kg'),
('9m'),
('£4.99')
select...
June 30, 2020 at 2:11 pm
My boss has been very proactive in this area - we already had a weekly "Tea and biscuits" meeting, but he's moved that to Teams and we join in from...
June 11, 2020 at 3:13 pm
I'd suggest that you look at some of the Stairway articles on this site. All the ones I've read have been extremely well-written. You can pick topics that cover areas...
May 12, 2020 at 3:20 pm
As the database is using a case-sensitive collation, I don't see why the 2nd option wouldn't work.
April 24, 2020 at 8:41 am
To find out which values are causing the problem, you could use TRY_CAST(YourColumn AS DATE). The values that can't be cast will be null in the new table. Then you...
April 8, 2020 at 10:47 am
And how long did it take them to give us a better message than "string or binary truncation"?
March 9, 2020 at 5:45 pm
Now I really want a picture of Steve in a Smurf shirt!
February 21, 2020 at 2:23 pm
Good article. The only thing I'd question is having the revision history in the header; over time this can become very verbose and bloat the script considerably. All that information...
February 11, 2020 at 1:26 pm
Out of interest - by 'later', are you saying that the CAST/ TRY_CAST is being executed in the SELECT before the WHERE?
That's my guess based on the fact that...
February 10, 2020 at 4:01 pm
Viewing 15 posts - 76 through 90 (of 275 total)