Created
April 3, 2019 15:23
-
-
Save ddeveloperr/a66cfc16d5a45f06d4dc650ed041529f to your computer and use it in GitHub Desktop.
How to comment & uncomment SQL code in DataGrip IDE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- How to comment & uncomment SQL code in DataGrip IDE | |
-- 1. Mark SQL code | |
SELECT TOP 3 * | |
FROM CUSTOMER | |
WHERE Customerid ='4de3092d03b742f3b2b88cf6fe0b09d0' | |
-- 2. Press "CTRL"+"/" (Slash) on the keyboard | |
--Code will become: | |
-- SELECT TOP 3 * | |
-- FROM AspDotNetStorefront263v8.DBO.CUSTOMER | |
-- WHERE Shopperid ='4de3092d03b742f3b2b88cf6fe0b09d0' | |
-- 3. If you need to uncommment it, you need to mark commented code and pres the same keyboard combination | |
-- "CTRL"+"/" (Slash) on the keyboard | |
--Code will become uncommented again: | |
SELECT TOP 3 * | |
FROM CUSTOMER | |
WHERE Customerid ='4de3092d03b742f3b2b88cf6fe0b09d0' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment