Aggregates

Technical Article

RE: QOD 8/7/03

  • Reply

I think it is indicative of a poorly worded/minimally relevant question when only 12% of SQL Server professionals answer correctly. Unfortunately the choice that I would have selected if it had been available would be "Does this really matter?"

You rated this post out of 5. Change rating

2003-08-08

1 reads

Technical Article

RE: float problems (with front-end Java app.)

  • Reply

Hi Michelle, sorry, just came across your response. quote: However, our test data was inserted for that example as: 0.054, but when a quick SELECT * FROM tblName is run.. we got the "funky" output 5.3999999999999999E-2 🙂 Another insert into the same field, different value: 0.106, come out just as it went in.. go figure […]

You rated this post out of 5. Change rating

2003-07-29

Technical Article

RE: Dropping a PrimaryKey takes forever..

  • Reply

aha! Yes the PK is clustered..and on investigation I don't think it's a good candidate for it. I'll consider the non clustered approach for this key. Also, it was the first of all the index drops, so I've changed my code to drop all others first then lastly, the PK. Thanks for the advice.. I'll […]

You rated this post out of 5. Change rating

2003-07-24

1 reads

Technical Article

RE: Join temporary table with another table

  • Reply

I am refering temp table from store procedure. I got 0 records back when I ran the query for sysobjects. Below is the temp table I am creating: CREATE PROCEDURE sp_temp_NumofEvents AS Create table #NumofEvents ( people_id numeric, site_name varchar(100), NumofEvents numeric ) Insert into #NumofEvents select distinct p.people_id, st.site_name, (select distinct count(event.event_date))as NumofEvents from […]

You rated this post out of 5. Change rating

2003-07-24

Technical Article

RE: How to determine persons age

  • Reply

Whoops, I think I replied to one of those threads in a link. Out of curiousity, why do you need to be concerned with leap years when determining a person's age? Were you thinking about dividing days into years or something? This is how I'd do it: declare @bd datetime select @bd = '1976-12-2' select […]

You rated this post out of 5. Change rating

2003-07-24

2 reads

Technical Article

RE: How to Encrypt or Decrypt .....

  • Reply

we had some encrypted procedures in a production system for a while. However when it came to troubleshooting it became a pain, as we couldn't be 100% sure of the version in production. so all new procedures going to the system are now unencrypted.

You rated this post out of 5. Change rating

2003-07-16

1 reads

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