DBeaver :- Generate Schema – Datatypes and Column Widths – Error – “Cannot specify a column width on data type”

Background Let us stay with Dbeaver and point out a slightly different issue.   Sample Data SQL Server DDL DDL - Create Schema and Table DBeaver Launched Dbeaver and worked towards scripting the object's DDL. Outline Here are the steps :- Connect to the Database Transverse the Database Navigator outline and select Instance\Database\Schema\Tables Select the … Continue reading DBeaver :- Generate Schema – Datatypes and Column Widths – Error – “Cannot specify a column width on data type”

Transact SQL – STRING_AGG – Error – “Incorrect syntax near ‘within'”

Background Working on a script, but noticed an error when I tried to sort the data using the String_Agg within group clause. Code Let us reproduce using a sample data set. SQL Sample -01 SQL Output Sample -02 Outline If one reviews our output, one will notice that the cities are listed based on the … Continue reading Transact SQL – STRING_AGG – Error – “Incorrect syntax near ‘within'”