Code Generation

Technical Article

RE: Date Comparision of the Month Part

  • Reply

If I see this right, you want to query for a specific month, right?If so, why extract dateparts and convert anyway? You could also query for something like this:WHERE  < your date > >= DATEADD(MONTH,DATEDIFF(MONTH,30,GETDATE())-2,30)+1 AND  < your date > < DATEADD(MONTH,DATEDIFF(MONTH,30,GETDATE())-1,30) +1That example above would query the previous month. You might need to tweak this […]

You rated this post out of 5. Change rating

2004-11-23

Technical Article

RE: Remote SQL Server Administration

  • Reply

My recommendation is to use Microsoft Terminal Client. It's better than PCA, you can have multiple connections, and the Remote server can still be locked while you access it from here.I used to control many servers in Saudi Arabia from Sri Lanka with a 128k line without any problem.you can also copy and paste easilty […]

You rated this post out of 5. Change rating

2004-11-15

Technical Article

RE: Adding Column to a Table with Desired Order

  • Reply

I realize position doesn't affect anything and EM is not an option for me.Here is a script I found that reorders columns in sequential order. I thought someone has the script to do more.How to Fix Inconsistent Metadata ErrorsWhy does changing a table on a SQL Server 7.0 server cause "OLE DB provider 'SQLOLEDB' supplied […]

You rated this post out of 5. Change rating

2004-11-12

Technical Article

RE: Index not used on Select *

  • Reply

Ray -Since there is no clustered index on this table, I would assume that data rows are stored sequntially.  Regardless of what is in my select statement, as long as I have the right where clauses, the query engine should use index seek to get to the addresses of the desired rows and then get the information […]

You rated this post out of 5. Change rating

2004-03-18

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