hardware

Technical Article

RE: User Friendly Error Messages

  • Reply

Oh sorry, Something like this should work On Error Resume Next .... your db statement Select Case Err.Number Case..... Response.Redirect somewhere else End Select I bet there are lots of examples on ASP sites. Might be worth a try. Frank http://www.insidesql.de http://www.familienzirkus.de

You rated this post out of 5. Change rating

2003-12-17

Technical Article

RE: DTS Connection - ANSI_NULLS setting

  • Reply

Still curious if seperating the settings statements in a seperate batch but on the same connection works. You could also try setting the default connection properties on the SQL server, but that will affect all connections that don't explicitly set those values.

You rated this post out of 5. Change rating

2003-11-20

1 reads

Technical Article

RE: Specifing Index to be used in From clause

  • Reply

The query optimizer makes its decision based on probability. And can therefore sometime make wrong decisions. To see if and how the hint can improve performance run your queries with STATISTICS IO STATISTICS TIME SHOWPLAN and compare the results. Don't get used to use query hint, because what might seem to be appropriate now, might […]

You rated this post out of 5. Change rating

2003-11-19

Technical Article

RE: Dynamic Columns

  • Reply

Thanks Frank and Dave. Sorry for the delay, I got pulled into something else. I was able to get to where I needed to go from your input. Here's what I came up with. CREATE procedure FTW @jobid int as declare @max int declare @maxouter int declare @ct int declare @gl int declare @sql nvarchar(4000) […]

You rated this post out of 5. Change rating

2003-07-30

Technical Article

RE: Not Rounding

  • Reply

You get FLOAT as a result because of SQL Data Type Precedence (Look up "Data Type Precedence" in BOL). 29.99 is a valid decimal, and is a valid value that can be assigned to a FLOAT. But, because a FLOAT can store huge values, the trade-off is a loss of precision. Therefore you can assign […]

You rated this post out of 5. Change rating

2003-07-28

1 reads

Technical Article

RE: SQLServer 7.0 Query against smalldatetime

  • Reply

SQLBill, The convert function will truncate the time part and give the output in the format 'mm/dd/yy' (for 101). Then why wouldn't the query SELECT * FROM tblprojects WHERE insertedDate >= CONVERT(smalldatetime, '01/01/2003', 101) AND insertedDate <= CONVERT(smalldatetime, '04/30/2003',101) include '04/30/03'?? Cindy

You rated this post out of 5. Change rating

2003-07-28

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