Viewing 15 posts - 16 through 30 (of 167 total)
Like this?
WHERE site_code = @p_site_code
AND datepart(month,observ_date) = @p_startmonth
AND DATEPART(YEAR,observ_date)= @p_startyear
AND DATEPART(MONTH,observ_date) <= @p_endmonth
AND DATEPART(YEAR,observ_date)= @p_endyear
April 29, 2020 at 4:06 pm
I just have the .rdf file, no oracle on machine, no conversion tools, which is what I am looking for. An app that someone may have used to open them...
April 17, 2020 at 6:43 pm
I'm just curious are all of you always so rude? Of course I googled it, nah really I just jumped on and wanted someone else to do all the research.
April 17, 2020 at 6:14 pm
Yes they are, no calculations will be done on them.
March 31, 2020 at 8:15 pm
Here is some sample data, I have removed any data that had identifying information, phone numbers and faxs and names and addresses
March 31, 2020 at 7:57 pm
No it isn't and youre talking about the decimal fields correct?
March 31, 2020 at 7:40 pm
Original Table from AS400
SELECT
NOUSGE, /* NOUSGE CHARACTER(1) DO NOT USE FLAG */
MVEND, /* MVEND ...
March 31, 2020 at 7:30 pm
I got this to work, however if the month is 1-9 it sets the date to '01/01/1900' because of the month not having 2 digits.
CASE WHEN ISDATE(left([Due Date],2) +'/'+ SUBSTRING(right([Due...
March 24, 2020 at 4:39 pm
Are you talking about this code? This doesn't work I get the same error.
DECLARE @DateStr NVARCHAR(50) = N'12172019';
SELECT @DateStr,
CAST(CONCAT(RIGHT(@DateStr, 4), LEFT(@DateStr, 2), SUBSTRING(@DateStr, 3, 2)) AS DATE);
March 24, 2020 at 2:14 pm
I have searched, and none of the solutions have worked. otherwise I wouldn't have posed my issue.
March 24, 2020 at 1:40 pm
it is defined as [Due Date] (nvarchar(10),null)
March 23, 2020 at 9:25 pm
Thanks for getting back to me, the Due Date is formatted like this 12172019 and does have zeros in the field also, it is being imported from an excel spreadsheet....
March 23, 2020 at 9:12 pm
I followed the advice Sue had given, I read the document she provided the link to and setup the link server, I can query the as400 tables as I would...
February 13, 2020 at 10:05 pm
I'm not understanding this, Is the SQL table only at length of 3? I have increased all of the sizes on the SQL side so not sure why I am...
February 13, 2020 at 7:52 pm
Viewing 15 posts - 16 through 30 (of 167 total)