SELECT alias capitalization issue.
njahncke
Posts: 23
SQL PROMPT VERSION: v4.0.3.12
SSMS VERSION: v10.0.2531.0
OS VERSION: Windows 7 Enterprise x86
PROBLEM: Aliases in the SELECT portion of a statement are not capitalized appropriately. Capitalization of aliases in the WHERE and other portions of a statement is performed as expected.
STEPS TO REPRODUCE:
Note: The following instructions assume at least "." is configured to insert suggested statements and that identifier brackets are enabled.
1) Enter the following code.
2) Place your cursor on line 8, hit TAB, "t" and "." Notice the inserted "[T]."
3) Place your cursor on line 2, hit TAB, "t" and "." Notice the inserted "[t]."
EXPECTED BEHAVIOR:
The "t" inserted during step 3 should be capitalized.
SSMS VERSION: v10.0.2531.0
OS VERSION: Windows 7 Enterprise x86
PROBLEM: Aliases in the SELECT portion of a statement are not capitalized appropriately. Capitalization of aliases in the WHERE and other portions of a statement is performed as expected.
STEPS TO REPRODUCE:
Note: The following instructions assume at least "." is configured to insert suggested statements and that identifier brackets are enabled.
1) Enter the following code.
SELECT FROM [sys].[tables] T JOIN [sys].[columns] C ON [T].[object_id] = [C].[object_id] WHERE
2) Place your cursor on line 8, hit TAB, "t" and "." Notice the inserted "[T]."
3) Place your cursor on line 2, hit TAB, "t" and "." Notice the inserted "[t]."
EXPECTED BEHAVIOR:
The "t" inserted during step 3 should be capitalized.
Comments