SQLCLR

Technical Article

RE: Check Columns Exist Before Select

  • Reply

Unfortunately not. The use of GO splits queries into batches and a proc can only be one batch. BOL states that 'A table cannot be altered and then the new columns referenced in the same batch'. Therefore I think you will not be able to do what you want unless you can split the job […]

2003-05-27

2 reads

Technical Article

RE: SQL 6.5 Restore

  • Reply

It seems there's been a bit of confusion at my end-i'm on here on behalf of my boss who told me before, that the original machine is NT4. I have just learned that it is in fact 2000. Apologies for the false information, but thanks all the same for trying to sort it! We checked […]

2003-05-21

Technical Article

RE: Boolean or Integer for comparison

  • Reply

Hi, I think the BIT option would be faster, not sure by how much though. When comparing two BITs you are literally comparing at a Bit level - value A (0 or 1) compared against value B (0 or 1). When comparing two INTs you have to pattern match the 32 bits (as an INT […]

You rated this post out of 5. Change rating

2003-05-20

1 reads

Technical Article

RE: User Define Function error

  • Reply

Sorry, select @datestr = cast(year(@todate) as char(4)) + '-' + cast(month(@DOB) as char(2)) + '-' + cast(day(@Dob) as char(2)) DOB might be a leap day as you said but todate is presumably current date = 2003 which is not -add these together you get 2003-02-29 - which is invalid and yes - varchar would be […]

You rated this post out of 5. Change rating

2003-05-16

1 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