Rajat Jaiswal

I am Rajat Jaiswal.
I have around 9 years of industry experience.
I have always found technology and programming to be very interesting and for me, programming is not something that ends when I step out of the office.
I love exploring new stuff and databases amuse me the most.
I started blogging in 2006 on http://rajatjaiswal.blogspot.com and http://indiandotnet.wordpress.com, http://sqlRaaga.blogspot.com
I am quite active on my blogs and often post entries on Microsoft technologies like C#, ASP.NET, SQL Server, Silverlight & Windows Phone 7.
  • Interests: I am always interested in Microsoft Technology specially asp.net & SQL server. Other than this I love Singing ,dancing and playing musical instruments.

Blogs

Monday Monitor Tips: Tracking The Cost of Instances

By

One of the things that I’ve been asked in every operations situation is what...

Social Anxiety and Events Like the PASS Summit

By

If you are an introvert like me, events like the PASS Summit can call...

Thoughts on AI Data Infrastructure Field Day #1

By

On October 2nd and 3rd, I took part in an amazing event called AI...

Read the latest Blogs

Forums

Unable to Pivot data in MS Excel for the (Output) file of SSIS package

By Reh23

Good Morning, I have built an SSIS package which produces Excel File Output. In...

Comparing Images

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Comparing Images

Time to Change Your Team

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Time to Change Your Team

Visit the forum

Question of the Day

Comparing Images

I am building an ETL process between these tables in SQL Server 2022 set to 160 compatibility level:

CREATE TABLE Image_Staging
( imageid     INT NOT NULL CONSTRAINT Image_StagingPK PRIMARY KEY
, imagestatus TINYINT
, imagebinary IMAGE);
GO

CREATE TABLE Images
( imageid       INT NOT NULL CONSTRAINT ImagesPK PRIMARY KEY
, imagestatus   TINYINT
, imagemodified DATETIME
, imagebinary   IMAGE);
GO
I want to run this query to check if the images already loaded exist. This will help me decide if I need to insert or update an image. What happens with this query?
SELECT i.imageid
FROM
  dbo.Image_Staging AS ist
  INNER JOIN dbo.Images AS i
    ON ist.imagebinary = i.imagebinary;

See possible answers