lbravo

I have spent all my life creating applications, writing software and automating processes. My entire career has been an exciting journey that I'm very proud of. I had the privilege of creating one of the first websites in the world, built an application that was used to estimate traffic volumes in large cities such as Rome and Sao Paulo, created an accounting system, received a national award for my IT contributions.

Collaborating closely with exceptional talents from across the globe, I proudly hold the distinction of being a Microsoft charter member. My credentials encompass Microsoft certifications in SQL Server, database development, and Azure. Currently, I am diligently pursuing an Artificial Intelligence certification from Microsoft.

I have also embarked on a journey of knowledge sharing, with the publication of my inaugural technical articles, with more in the pipeline.
Outside the domain of computers, I enjoy cooking, going to the beach, jogging, writing, teaching and contributing as much as I can to make this world a better place for us all. If I don't feel passionate about something, I just don't do it.

Technical Article

Simple T-SQL implementation for running SSRS subscriptions.

I created this stored procedure to be able to run SSRS subscriptions using T-SQL code instead of adding a component in the SSIS package with the subscription id. Let's say we have a set of report subscriptions named like this: ClientReport1, ClientReport2, ClientReport3. To run them using the stored procedure, all we need is this […]

(1)

You rated this post out of 5. Change rating

2023-11-29 (first published: )

1,279 reads

Blogs

Deploying an Updated Model with SQL Compare 16

By

In a previous post, I deployed a model to a database using SQL Compare...

Reality (And Limits) of Instant File Initialization for Transaction Logs in SQL Server 2022

By

Reality (And Limits) of Instant File Initialization for Transaction Logs in SQL Server 2022 ...

Looking Back at the Redgate 2026 Company Kickoff

By

Last week I spent a few days in Cambridge, UK for the Redgate Company...

Read the latest Blogs

Forums

Create filegroups in partition

By vpolasa

I have a table with partition on create_timestamp field. Though we're storing all data...

Adding and Dropping Columns II

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Adding and Dropping Columns II

Leveraging DuckDB for OLAP Workloads: The Fabric Modern Data Platform

By John Miner

Comments posted to this topic are about the item Leveraging DuckDB for OLAP Workloads:...

Visit the forum

Question of the Day

Adding and Dropping Columns II

I have this table in my SQL Server 2022 database:

CREATE TABLE [dbo].[CityList]
(
[CityNameID] [int] NOT NULL IDENTITY(1, 1),
[CityName] [varchar] (30) ,
[Country2] [char] (3),
[stateprovince2] [char] (2),
[Country] [char] (3),
[stateprovince] [char]
) ON [PRIMARY]
GO
I decide to drop the stateprovince2 and country2 columns. What code should I use?

See possible answers