Viewing 15 posts - 91 through 105 (of 13,848 total)
This may be relevant:
Perhaps try making the proc very simple and seeing whether the error goes away. If it does, you will know that the problem relates (somehow) to...
March 12, 2025 at 9:27 am
March 11, 2025 at 2:56 pm
The following solution assumes that the data should be ordered by (DocEntry, Itemcode)
DROP TABLE IF EXISTS #Test;
CREATE TABLE #Test
(
DocEntry INT NOT NULL
...
March 11, 2025 at 10:38 am
You have >1,000 points, so you must know by now how to provide sample data (in the form of CREATE TABLE and INSERT statements) and desired results based on that...
March 10, 2025 at 1:11 pm
I'm no DBA, but doesn't log shipping require a single primary DB and one or more secondary DBs, with the secondary DBs being (effectively) copies of the primary?
Your requirement seems...
March 9, 2025 at 2:31 pm
Totally understand why you don't want to do this manually! But …
I know of nothing in the market that can do it, though I haven't looked for a few years....
March 6, 2025 at 9:15 am
Hi, thanks for replying. its 50% of the way there. splits out my uniqueidentifier perfectly.
I however, also need the false or true part that relates to each identifier, so...
March 5, 2025 at 5:15 pm
This issue is likely due to how the Excel driver interprets data types dynamically. If possible, switch to .xlsx format, as it's more stable.
Also, try adding IMEX=1 to the...
March 4, 2025 at 5:01 pm
Regarding the Excel file, is it empty when the job runs? If not, what does it contain?
I suspect the problem may be to do with the guesswork employed by the...
March 4, 2025 at 1:50 pm
Regarding my 'easier to read' comment, please also consider using table aliases and removing superfluous brackets.
SELECT h.Date
,h.EstCompDate
...
February 26, 2025 at 6:05 pm
This is not directly related, but still worth mentioning.
We try to avoid using FORMAT() here because of its poor performance. Assuming tblWTHistory.EstCompDate is a date, please try changing those two...
February 26, 2025 at 5:59 pm
If you are really sure that it's not going to cause issues, you can do this.
Disable the trigger, perform the deletion, then re-enable the trigger.
https://www.mssqltips.com/tutorial/sql-server-disable-and-enable-triggers/
February 26, 2025 at 1:00 pm
OK, that explains it. The deletes are being blocked and instead the delete attempts are being logged in table JournalDeleteAudit.
February 26, 2025 at 12:52 pm
Yes there is a trigger
Please right-click / Script as Create
and post the code here.
February 26, 2025 at 12:25 pm
Weird. Are there any triggers on this table?
February 26, 2025 at 11:33 am
Viewing 15 posts - 91 through 105 (of 13,848 total)