Secure Programming

Technical Article

RE: Comparing specific rows in 2 tables

  • Reply

insert into ##temptable select relevant.columns from table1 inner join table2 on pk1 = pk2 where table1.createdate = yesterday and (table1.col1 <> table2.col1 or table1.col2 <> table2.col2 or ... ) You will then have all of the data needed for your email easily accessable.

2003-05-06

Technical Article

RE: Trying to add new records to a temporary table

  • Reply

Since you are naming each server in turn then INSERT INTO ##all_logins SELECT name,'jupiter' FROM jupiter.master.dbo.sysxlogins WHERE name like '%Ivanov%' INSERT INTO ##all_logins SELECT name,'saturn' FROM saturn.master.dbo.sysxlogins WHERE name like '%Ivanov%'

2003-05-06

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers