Viewing 15 posts - 136 through 150 (of 13,876 total)
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
What does it say in the Messages tab after attempting the deletions?
February 26, 2025 at 10:43 am
Understood. But in your database, the function definition will exist. Otherwise the code you provide would not execute.
You need to provide that (in the form of CREATE FUNCTION oracle.xxxfloat AS...
February 25, 2025 at 5:47 pm
Are you trying to rewrite the Oracle functions? In which case, you'll need their definitions, not just the code which is using them. If not, I don't really understand what...
February 25, 2025 at 4:25 pm
Sorry Phil, I had to correct my statement. When I redacted our names, I redacted too much. I guess you could say I over redacted.
OK (and good pun!). I...
February 25, 2025 at 3:44 pm
DECLARE @first INT = 13
,@second INT = 2;
SELECT Result = CASE
...
February 25, 2025 at 2:31 pm
Viewing 15 posts - 136 through 150 (of 13,876 total)