SQL Prompt 10 - Import Syle from 9
DSQU
Posts: 5 New member
in SQL Prompt
Hello- i have upgraded to the latest version of SQL prompt however I cannot open a style from SQL Prompt 9. In my folder: C:\Users\XXXX\AppData\Local\Red Gate\SQL Prompt 10\Styles I have a file with the type: SQLPROMPTSTYLEV2 File, which looks like its from when I used version 9. I also have a new custom file type that I just created, that JSON file type.
From this other post: https://forum.red-gate.com/discussion/87658/restore-style-in-sqlprompt-v-10-from-sqlprompt-v-9
and this documentation: https://documentation.red-gate.com/sp/sql-code-formatting-and-styles/updating-style-files-from-before-version-10-5
I don't have a StylesV2-backup folder in my Styles folder so I can't do what is described.
Note that I look at the about for my prompt version and it shows 10.11.12.2700, but i also see 10.5 version mentioned. I downloaded the latest version and it says SQL prompt is already upgraded.
Please advise
From this other post: https://forum.red-gate.com/discussion/87658/restore-style-in-sqlprompt-v-10-from-sqlprompt-v-9
and this documentation: https://documentation.red-gate.com/sp/sql-code-formatting-and-styles/updating-style-files-from-before-version-10-5
I don't have a StylesV2-backup folder in my Styles folder so I can't do what is described.
Note that I look at the about for my prompt version and it shows 10.11.12.2700, but i also see 10.5 version mentioned. I downloaded the latest version and it says SQL prompt is already upgraded.
Please advise
Tagged:
Answers
Would you be happy sharing the old version 9 file with me on the forum so that I may take a look at it from my end?
Kind regards,
Kurt McCormick
Product Support Engineer, Redgate
Need help? Take a look at our Help Center
Apologies for the delay.
I went through the steps on my own system with your above script, and I was able to generate the new .JSON file. Please find the download link to that below:
https://files.red-gate.com/link/qTndZyLpIXjaNXztpQYV3P
Please place that in your styles folder and check that it works for you.
Thank you.
Kind regards,
Kurt McCormick
Product Support Engineer, Redgate
Need help? Take a look at our Help Center