Viewing 15 posts - 1,636 through 1,650 (of 7,608 total)
Evening Guys,
(1) Are there negative effects of having multiple stored procs wrapped in an outer/master proc?
(2) Will the inner procs that are executed all be run as one...
April 27, 2021 at 6:07 am
Shifting gears to the code itself, it's pretty much a both a resource and performance nightmare. It makes one full pass of either the CI or an NCI for...
April 27, 2021 at 5:52 am
Deadlocks would be one of the main ones, I would think.
April 26, 2021 at 9:46 pm
This query or one just like it seems to come up a lot. But I still don't know if there's enough demand for, say, a full article on it. It's...
April 26, 2021 at 9:44 pm
I asked because many people are happy with code as long as it ultimately does what they need it to do, i.e. "the code's good enough for me." In that...
April 26, 2021 at 9:42 pm
Btw, why are you using such an inefficient method, checking the column values one by one?
What are you asking why instead of posting a link to...
April 26, 2021 at 9:34 pm
Hi,
I get the object id, it stopped working when I updated the management studio, i think it is not the code, but rather a new thing...
April 26, 2021 at 9:31 pm
Btw, why are you using such an inefficient method, checking the column values one by one?
April 26, 2021 at 9:22 pm
Please do some research and look up the E you rules for triangulation. This means that you have to convert from currency A to Euros, then from Euros to currency...
April 26, 2021 at 8:46 pm
Is it possible that OPERATION is a view (or synonym) and not a table?
April 26, 2021 at 8:42 pm
Did you run the SELECT by itself to make sure you get results from that?
SELECT c.name
FROM sys.tables t
JOIN sys.columns c ON t.object_id = c.object_id
WHERE t.name...
April 26, 2021 at 8:41 pm
I think this is a form of Gaps and Islands (term coined by Itzik Ben-Gan? maybe?). It's rather traditional in G&I to use the name "grp", so I stuck with...
April 26, 2021 at 8:36 pm
Yes, only 1 OUTPUT clause. My best suggestion is to use CASE for every column. You can generate the CASE statements from the table definition so you don't have to...
April 26, 2021 at 12:21 pm
Just now noticed the Postgre sql qualification. I answered for SQL Server; code may or may not work on Postgre.
April 26, 2021 at 2:42 am
For (1):
SELECT GUEST.GUESTID
FROM GUEST
WHERE GUEST.GUESTNAME='John %' /*space added because don't want name 'Johnathan' or 'Johnny'*/ AND
EXISTS(SELECT 1 FROM BOOKING WHERE BOOKING.GUESTID=GUEST.GUESTID AND...
April 26, 2021 at 2:41 am
Viewing 15 posts - 1,636 through 1,650 (of 7,608 total)