Viewing 15 posts - 451 through 465 (of 2,648 total)
That's because bigint stores integers as Two's complement, negative numbers need 2^64 (18446744073709551616) added to them to represent the number as an unsigned int.
March 15, 2023 at 8:47 pm
That's because bigint stores integers as Two's complement, negative numbers need 2^64 (18446744073709551616) added to them to represent the number as an unsigned int.
SELECT...
March 15, 2023 at 1:27 pm
I would guess your trigger should look something like this:
CREATE TRIGGER software_on_install_fill_in
ON software
FOR INSERT, UPDATE
AS BEGIN
SET NOCOUNT ON
UPDATE...
March 14, 2023 at 5:00 pm
It would help if you included the table ddl for package and software.
March 14, 2023 at 4:21 pm
SELECT ID
FROM ExampleTable
GROUP BY ID
HAVING MAX(CASE WHEN Description = 'Apex' THEN 1 ELSE 0 END) = 0 OR
MAX(CASE WHEN Description = 'BILL'...
March 13, 2023 at 3:55 pm
It seems to be ordered by original post date descending.
Active Threads is ordered by last post date descending.
March 13, 2023 at 3:50 pm
SELECT '1' AS 'CommitBlock',
'1' AS 'EnforceTagExistence',
(SELECT vw_deferments.loan_number AS '@loannumber',
...
March 13, 2023 at 10:41 am
I updated the procedure (for my purposes) so it doesn't attempt to update stats on the sys schema by updating one of the ANDs in the WHERE to include 'sys':
March 11, 2023 at 4:41 pm
@jonathan-2... that will work if "any" of the 3 are present. I'm thinking the OP only wants to exclude if all 3 are present. But, please, let him explain...
March 11, 2023 at 3:24 pm
Can you share your script?
Attached. Again, I'm very aggressive in the code. If the RowModCtr > 0, then I rebuild the stats. You can certain modify that...
March 11, 2023 at 2:23 pm
Dear ChatGPT
I have a table where it has id column, along with description.
Based on Group BY ID, I need to verify for each ID we have row exists with Description...
March 11, 2023 at 1:31 am
If their plan fails, they can always go back to tipping Dogecoin or peddling courses on how to get rich quick by buying cheap stuff on AliBaba and reselling it...
March 10, 2023 at 10:40 pm
If ChatGPT set that up and it was quick and easy that's amazing. Before it writes queries it would be nice if it did boring and boilerplate work
There is...
March 10, 2023 at 7:47 pm
I don't think calling complicated
string_splitandstring_aggfunctions will be more efficient than calling simple string functions.
Maybe so. Can your chatbot make the case for it? ...
March 10, 2023 at 6:35 pm
What script do you use to update the statistics?
I wrote my own little dity. Basically, it skips anything that has been rebuilt in the last 22...
March 10, 2023 at 5:25 pm
Viewing 15 posts - 451 through 465 (of 2,648 total)