Viewing 15 posts - 991 through 1,005 (of 13,879 total)
Interesting. Perhaps more useful for beginners than seasoned professionals.
The following sentence is inaccurate:
This code is using the GETDATE(); function which is not allowed in a stored procedure.
There is no problem...
May 1, 2023 at 8:50 am
Phil Parkin from what I gathered they did not care about the order just the first record that has Accepted or Rejected means that the RecordId gets a 1 otherwise...
April 29, 2023 at 2:18 pm
As there are so few rows, I'd create a chunk of code which drops, creates and populates the table in TempDB
DROP TABLE If EXISTS #SomeLookup;
CREATE TABLE #SomeLookup(SomeKey...
April 29, 2023 at 10:56 am
In my sql result, I want to create a column called RCount. Condition: For each RecNo, AccNo * If the field Reason is "Accepted", it doesn't matter what other...
April 27, 2023 at 8:40 am
If I do any significant development work, I document it myself in Confluence. This documentation remains internal, but for me has the following benefits:
April 26, 2023 at 8:19 am
As the Ids are different, should the grouping be based on HorseName?
You have been here long enough to provide DDL, INSERT scripts etc and have chosen not to. My suggested...
April 25, 2023 at 8:51 am
Can't see why it's not working, based on the code you've provided.
Why are you doing this in the proc?
DECLARE @RECORD_ADD_DT datetime
SET @RECORD_ADD_DT = @RECORD_ADD_DATE
Seems pointless – just...
April 24, 2023 at 3:55 pm
This returns your desired results, but is it what you want?
DECLARE @SQL1 NVARCHAR(MAX)
= N'SELECT ri.Serial_Number
,UnitType = ri.Part_Number
...
April 24, 2023 at 3:35 pm
Good answer, makes complete sense, thanks for taking the time to write it out.
There are a couple of points I'd like to mention, however.
First is that SFTP is completely doable...
April 24, 2023 at 7:55 am
Taking a step back for a moment ...
It seems that you are running an SSIS package which calls a proc which runs BULK INSERT – a rather convoluted design. May...
April 23, 2023 at 8:59 am
Standard forum etiquette is to leave your question unedited and to post the solution you found, for a couple of reasons:
April 21, 2023 at 11:12 am
Dennis Jensen, your positivity is impressive and laudable. But the definition of insanity as "doing the same thing repeatedly and expecting a different outcome" (wrongly attributed to Einstein) is applicable...
April 19, 2023 at 10:35 am
Sorry, I can't help you with this question, but I do admire the accuracy of your approximation!
April 19, 2023 at 10:01 am
Thank you to Ken and pietlinden for your support.
Okay Phil Parkin criticizing a questioner is poor etiquete. Instead if you feel their question needed more information simply state that without being condescending....
April 18, 2023 at 8:08 am
My query finds Min and Max to determine Lag, but I need to find the lastest Shipdate date(max) and then previous shipdate to determine lag --> remove the Min(shipdate).
I...
April 17, 2023 at 9:09 am
Viewing 15 posts - 991 through 1,005 (of 13,879 total)