Viewing 15 posts - 376 through 390 (of 1,424 total)
The behavior is called "late binding" and for many workflows and from many points of view it's a feature and not a flaw. Early binding is available in SQL Server...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
The Dark Mode issue is real. Iirc MS's excuse (for years and years) for not having it has been it would potentially make SSMS unstable. Disappointing. Largely due to the...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Maybe you could add the LAG columns to #MyData. Then use a combination of LAG and MAX OVER. If this were SQL Server 2022 you could use the WINDOW clause
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Have a look at the Docs on "Multipart Names"
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
The variable @ObjectName provided as an example was not plural such that it corresponds to an actual system object. Try it with N'sys.objects' instead of N'sys.object'. YOU NEED TO PROVIDE...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
If it's the code in your picture which produced the error message then your probable issue imo is a type mismatch between the join columns. Either ar.S1WHS# or wf.L3WHS# is...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
You could try using TRY_CAST to determine which row values are causing the CAST to fail
select *
from YourTable
where TRY_CAST(MASTER_BOL_NUMBER as numeric) is null;
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
What about making datatype specific fnTally-ies? Many times the maximum requirement is less than BIGINT. What about fnTallySmalldatetime, fnTallyDatetime? What about making separate 0+ version and 1+ versions?
Any editorial regarding...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
It's only 2 rows of data. To test with different cases I added some additional rows. Afaik you're looking to conditionally apply the sum of invoiceid credits from 'creditmemo' to...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
It seems you're looking for the COALESCE function. If the empty values are stored as '' then NULLIF returns NULL. COALESCE returns the first (left to right of the parameter...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
To split out the pd_id's you could try STRING_SPLIT to separate based on space delimiter. Since some 'PD-[0-9]' values are encompassed by other extra characters a conditional substring is done...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Thanks to Jeff Moden in this thread for the function used here
In row 1 of the expected output from which input table does the Rnge value 45 come from? ...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
Viewing 15 posts - 376 through 390 (of 1,424 total)