Create

Technical Article

RE: Temporary Network

  • Reply

To use a name you need to ask your network admins to create a record foryour server on DNS server. I also tested creating a DNS alias which is not a machine name but a nice name. We usually use DNS aliases for the Web, but it works fine with SQL ServerYelena

You rated this post out of 5. Change rating

2004-11-19

Technical Article

RE: SQLServer 7.0 Query against smalldatetime

  • Reply

Or, don't bother with any of the conversion stuff and just: CREATE PROC dbo.GetProjects @StartDate SMALLDATETIME , @EndDate SMALLDATETIME AS BEGIN SELECT Fields -- Don't use * !!! FROM tblProjects WHERE insertedDate BETWEEN DATEDIFF(day, 0, @StartDate) AND DATEDIFF(day, 0, @EndDate) END The DATEDIFF strips the time portion of the smalldatetime/datetime field. Since DATETIME fields are […]

You rated this post out of 5. Change rating

2003-07-28

1 reads

Technical Article

RE: Importing data from txt file and updating Table

  • Reply

A couple of extra points. 1. Do the updates before the inserts otherwise you end up updating the rows you have just inserted. 2. If you have 500K rows to process and a table of 1.7M, then you will probably have locking issues. One way round this would be to add an identity column to […]

You rated this post out of 5. Change rating

2003-07-25

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

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...

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