Viewing 7 posts - 1 through 7 (of 7 total)
SELECT siteid, location, linenum, SUM(purchaseprice) AS purchaseprice, SUM(replacecost) AS replacecost
FROM (
-- INSERT your query here .. Remove ORDER BY)
) tbl1
GROUP BY siteid, location, linenum
ORDER BY siteid, location, linenum
October 31, 2024 at 8:13 pm
We installed iSeries Access on SQL server and that installed the DB2 connectors. I think they replaced iSeries access with a Java only version, but you should still be able...
October 1, 2024 at 8:54 pm
SET DATEFIRST 6 ; -- Set first Day of Week to Saturday
SELECT [CreateDateTime],DATEPART(WEEK,[CreateDateTime]) - DATEPART(WEEK,CAST(CAST(YEAR([CreateDateTime]) AS VARCHAR(4))+'-' + CAST(MONTH([CreateDateTime]) AS VARCHAR(2)) + '-01' AS DATETIME))+1 AS WeekNo
FROM yourtable
September 27, 2023 at 8:20 pm
Replace top line "SELECT t.*" with "DELETE t" and remove ORDER BY clause at the end
June 27, 2023 at 7:22 pm
1=True, 0=False
Try ... ISDATE(OPS_PROJ_FMIS.STATE_OPTION_2) = 1
November 22, 2022 at 8:59 pm
Some of these databases don't even have apps using or accessing them. One database I just created a couple of days ago with one table and I manually keyed...
November 2, 2016 at 4:18 pm
Turned user control off and it worked like a charm. Many Thanks !!
June 4, 2012 at 7:15 am
Viewing 7 posts - 1 through 7 (of 7 total)