How to restore a killed photoshop CS5 session on mac?
It seems as though there is nothing I can do with this version.
[left behind .tmp files] are temporary scratch files that can be safely discarded. There is nothing useful you can do with them. [they store layer and history data but not a restorable version of the file itself].
With Photoshop CS6 there may be auto-save recovery files as well nearby, but they're always .psb files, and you don't have to do anything special - Photoshop will automatically open them the next time you run it after a crash. Photoshop CS5 did not have the auto-recovery feature; if it crashes you lose your work.
See the Adobe forums for more information
Related videos on Youtube
![Stephansko](https://i.stack.imgur.com/thNsI.jpg?s=256&g=1)
Stephansko
Updated on September 18, 2022Comments
-
Stephansko almost 2 years
I am trying to UNION ALL two tables 1) Current receipts 2) Historical receipts. Both of those tables have CTE because it was the only way how could it change numeric field into date field.
This is my Current receipts table
;WITH t AS (SELECT *, ProperDate = CASE WHEN ISDATE(CONVERT(char(8), r.RCLDTE)) = 1 THEN CONVERT(date, CONVERT(char(8), r.RCLDTE)) END FROM [Repit].[LEVYDTA].[RECTRNT] r) SELECT [Day of Week] = ProperDate, [Saturday] = DATEADD (DAY, 6 - ((DATEPART(WEEKDAY, ProperDate) + @@DATEFIRST - 1) % 7), ProperDate) ,CASE WHEN wm.[ITPPCK] = 'B' THEN wp.[PPCQTY] * SUM(t.[RCRQTY]) ELSE 0 END AS 'PREPACKQTY',wp.[PPCQTY],SUM(t.RCRQTY) AS 'RCRQTY' ,t.RCLDTE, t.RCWHS#, t.RCITM#, wm.ITPPCK, wm.ITCSPK,ws.WHDNAM,wv.VNVEN#,wv.VNVENN FROM t LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSITMM] wm ON t.[RCITM#]=wm.[ITITM#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSVENM] wv ON wm.[ITVEN#]=wv.[VNVEN#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSWHSM] ws ON t.[RCWHS#]=ws.[WHWHS#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSPPKM] wp ON t.[RCITM#]=wp.[PPPPK#] WHERE ws.WHAFLG = 'Y' GROUP BY t.ProperDate, wm.ITPPCK, wp.PPCQTY, t.RCRQTY, t.RCLDTE, t.RCWHS#, t.RCITM#, wm.ITCSPK ,ws.WHDNAM, wv.VNVEN#, wv.VNVENN ORDER BY wm.ITPPCK DESC
This is my Historical receipts
;WITH t AS ( SELECT *, ProperDate = CASE WHEN ISDATE(CONVERT(char(8), r.RCLDTE)) = 1 THEN CONVERT(date, CONVERT(char(8), r.RCLDTE)) END FROM [Repit].[LEVYDTA].[RECTRNH] r ) SELECT [Day of Week] = ProperDate,[Saturday] = DATEADD (DAY, 6 - ((DATEPART(WEEKDAY, ProperDate) + @@DATEFIRST - 1) % 7), ProperDate) ,CASE WHEN wm.[ITPPCK] = 'B' THEN wp.[PPCQTY] * SUM(t.[RCRQTY]) ELSE 0 END AS 'PREPACKQTY',wp.[PPCQTY],SUM(t.RCRQTY) AS 'RCRQTY' ,t.RCLDTE, t.RCWHS#, t.RCITM#, wm.ITPPCK, wm.ITCSPK ,ws.WHDNAM, wv.VNVEN#, wv.VNVENN FROM t LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSITMM] wm ON t.[RCITM#]=wm.[ITITM#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSVENM] wv ON wm.[ITVEN#]=wv.[VNVEN#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSWHSM] ws ON t.[RCWHS#]=ws.[WHWHS#] LEFT OUTER JOIN [Repit].[LEVYDTA].[WHSPPKM] wp ON t.[RCITM#]=wp.[PPPPK#] WHERE ws.WHAFLG = 'Y' and ProperDate BETWEEN @Last2WeekDATE AND @LWDATE GROUP BY t.ProperDate, wm.ITPPCK, wp.PPCQTY, t.RCRQTY, t.RCLDTE, t.RCWHS#, t.RCITM#, wm.ITCSPK ,ws.WHDNAM, wv.VNVEN#, wv.VNVENN;
All the column names are the same. I thought that I just need to put UNION ALL in between and put GROUP BY and ORDER BY at the end and it would make it work. However, if I leave both CTEs with Proper Date it basically gives me an error "Incorrect syntax near the line with the second CTE after UNION ALL".
I know it looks like a lot of text, but it is exactly the same fields and same joins between two tables, only difference between both of those 2 tables is that 1 one is from a table [RECTRNT] - recent receipts and 2nd one is from [RECTRNH] - historic receipts.
Everything else is the same.
I will appreciate any ideas.
-
SMor over 2 years
WHERE ws.WHAFLG = 'Y'
That logically converts two of your outer joins into inner joins.and ProperDate
Where is the alias for this column?;WITH t AS
The semicolon is a statement terminator. Use them consistently and you don't need this lazy kludge using it a "beginator" for a CTE. If the order of rows in resultset matters, then your query MUST have an ORDER BY clause. Write consistent code, develop good habits.
-
-
slhck over 10 yearsCan you summarize the most important stuff from the link here?
-
Ben Thul over 2 yearsCan you explain what you changed and why that worked?
-
Moulitharan M over 2 yearsI converted all the dataset to cte and performed a union to combine both historical and current dataset