The following query is just adding a column to the table.
ALTER TABLE err.PreFinancePaymentPlan
ADD PackageName nvarchar(100);
I want to add this column to each table from the following query.
SELECT TABLE_SCHEMA + '.' + TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'err'
Sample output from the above query.
err.ColleteralValuablePaper
err.CustomerPayment
err.CustomerPaymentItemMatching
err.DealerColleteralPercent
err.DealerDistributorStatus
err.DealerShellLimit
err.DealerWaitingLimit
err.DistributorPreFinanceLimit
err.ColleteralValuablePaper
.
.
.
How can I add this to the entire tablature in one single query?