features

Technical Article

RE: How to Determine Whole Dollar Amount

  • Reply

I'm trying to SELECT all records where the Amount is a whole dollar.  I need to exclude all records where the Amount field contains cents.  Using Dinakar's suggestion:SELECT * FROM Sales WHERE CAST(Amount AS int) = Amountappears to give me what I need.  I just need to verify that this is the correct syntax to […]

2005-05-26

Technical Article

stored proc timeout question

  • Topic

I am using a stored proc to query a database and return values. The stored proc has to utilize several temp tables, including a table cursor. (Too long a story to explain.)The problem I am encountering is that I get a "timeout expired" message.This does not occur all the time...only when the returned record sets […]

You rated this post out of 5. Change rating

2004-05-18

1 reads

Technical Article

RE: Crosstab aggregate error, A Stumper!

  • Reply

This have to do with how CASE works. One thing is that a CASE can only return one datatype - which one if there are multiple datatypes within the same CASE expression, is determined by prescedence. (if not explicitly casted) CASE also only evaluates if the expression is true or false. Now.... the column checked […]

You rated this post out of 5. Change rating

2004-04-30

Technical Article

RE: Lookup Table

  • Reply

I also agree with Melanie. As does my friend Joe. In his usual charming style from another list: quote: This is a common mistake that Newbies and idiots often make. They literally do not know what a table is. A table is a set of things of the same kind (as per 1NF and DKNF […]

You rated this post out of 5. Change rating

2003-11-20

Technical Article

RE: How much do you earn?

  • Reply

quote: hanslindgren: It is good i agree. I can give you the link for the company i use, i don't know if they operate outside the UK but it might point you in the right direction. Basically these umbrella companies were setup because of new tax laws in the UK relating to one person becoming […]

You rated this post out of 5. Change rating

2003-06-19

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