Viewing 15 posts - 91 through 105 (of 299 total)
I think you need something like this (below). As mentioned by Ratbak, you'll need to drop indexes and foreign keys before making the change and you should definitely run it...
November 11, 2020 at 3:07 pm
When adding the reference to the non-managed database, you should set "Suppress Reference Warnings" to True. I think that will get around your problem.
November 5, 2020 at 9:53 am
Are you able to see whether it's blocked by another transaction? The fact that it returns null on the occasions when it takes a long time suggests some other process...
October 30, 2020 at 2:14 pm
Jeff's comment about the cut-off for 2 digit years reminded me that the millennium bug was "fixed" at one place I worked by using YY>20 as the cutoff to guess...
October 15, 2020 at 11:12 am
If they've asked to be able to search for two area codes at a time, it won't be long before they ask to search for 3 or 4 or more....
October 1, 2020 at 11:03 am
We do the same as others have mentioned. Load into a table where the columns are wide nvarchar and then validate afterwards. We use TRY_CAST and TRY_PARSE to check whether...
September 29, 2020 at 10:29 am
My guess at the logic is that the seats are in pairs. Single children can sit anywhere there is a space, but siblings need to sit together, so their seat...
September 4, 2020 at 12:43 pm
It would be nice if the object explorer in SSMS had a node under each database for triggers so that you could see them all in one place.
August 13, 2020 at 1:07 pm
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
Viewing 15 posts - 91 through 105 (of 299 total)