Viewing 15 posts - 46 through 60 (of 5,101 total)
Any fix regarding this thread?
We are frequently facing this issue.
Considering this is a 12 year old thread, I'd suggest either starting a new one as things could easily have...
March 14, 2023 at 4:47 pm
You're assuming an INSERT
/UPDATE
only ever effects one row; this is completely untrue. You are then trying to assign values to your scalar variables from CROSS JOIN
ed queries. Take your...
March 14, 2023 at 3:21 pm
I was trying to reply to 3 different posts. The way the responses showed up looks like i just put a similar answer 3 times together.
If you want to...
March 9, 2023 at 3:58 pm
Using the 'CoPilot' version of ChatGPT ( that is an addon to Microsoft Visual Studio) trained in programming and with access to the data sources this is possible now.
As...
March 8, 2023 at 8:52 am
Honestly, the fact that ChatGPT makes the mistake of thinking that people age on 01 Jan, which is such a fundamental error, show that it can't be relied on when...
March 7, 2023 at 2:41 pm
Secondly, the data was imported from excel in hh:mm format but it is coming up in sql as varchar.
I have tried casting it as int in sql to...
March 6, 2023 at 9:02 am
Why are you using a varchar
to store the information? Can you have values that are 24 hours or longer? If not, a time(0)
would seem more appropriate. If you can,...
March 2, 2023 at 9:52 am
Are FUNCTION1
,
FUNCTION2
, etc, all user-defined scalar functions?
March 1, 2023 at 3:11 pm
This is just the same solution as I use in Extract only the filename from a file path; get the right most characters of the string, using the location...
February 28, 2023 at 9:46 am
I use a temp table for multi-value updating by trigger
What is your reason for doing that? What functionality or performance benefit does the temporary provide over not using one...
February 27, 2023 at 8:55 am
SQLBits, but call for speakers closed months ago. That's the big one in the UK. Next is Relay. The call for speakers probably opens late spring. After that, Data...
February 22, 2023 at 3:55 pm
For every else's sanity:
SELECT grppro.dbo.PLNT_TASKACT.TASKACT
FROM grppro.dbo.PLNT_PARAMETERS
INNER JOIN grppro.dbo.SERIALA ON 1 = 1
INNER JOIN grppro.dbo.PART ON 1 =...
February 16, 2023 at 3:55 pm
I suppose the question, then, is why do you keep deleting all the data and then inserting it (again?)? What is the need to delete all the rows and then...
February 15, 2023 at 6:16 pm
If you are deleting all the data why not TRUNCATE the table instead? That would also reset the IDENTITY.
February 15, 2023 at 6:10 pm
I hate to say it, but this has a terrible example. Your first trigger, Trigger_Insert
makes the assumption that the INSERT
only ever contains one row, which is simply not...
February 15, 2023 at 9:54 am
Viewing 15 posts - 46 through 60 (of 5,101 total)