Instant File Initialization (IFI)

Technical Article

RE: Dates

  • Reply

Or, if you need your results on the same row, then...select sum(case when OrderDate between @DateStart and @DateEnd then Orders else null end) as ThisYearOrders, sum(case when OrderDate between DATEADD(yyyy, -1, @DateStart) and DATEADD(yyyy, -1, @DateEnd) then Orders else null end) as LastYearOrders from dbo.Orders where (OrderDate between @DateStart and @DateEnd) or (OrderDate between DATEADD(yyyy, -1, […]

2005-03-03

Technical Article

Run sql when a stored procedure is created

  • Topic

I just realized I probably put this in the wrong forum and am re-posting hereI would like to run some sql when a new stored procedure is created in a DB. Is there an easy way to do this. I tried a trigger on the sysobjects table but apparently that is not possible.Thanks

You rated this post out of 5. Change rating

2004-10-06

2 reads

Technical Article

Moving Databases between Servers

  • Topic

I am having a problem moving a bunch of databases between a SQL Server 7.0 Standard Edition Instance to SQL Server 2000 Enterprise Edition. I will outline the procedure I am using to migrate the schema (users and data) and then present the errors that I am getting. If ANYONE has any suggestions or can […]

You rated this post out of 5. Change rating

2004-04-09

5 reads

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