azure sql database

Technical Article

SQL Server Falling over

  • Topic

I do not have much experience in reading SQL transaction errors. My server falls over allmost every time when receiving this event. I do see the memory load is VERY high, but it is not constant on every transaction.Computer type is AT/AT COMPATIBLE.                                             Bios Version is SBR20 v16.00                                                   Current time is 11:07:19 08/06/04.                                             4 Intel […]

You rated this post out of 5. Change rating

2004-08-13

8 reads

Technical Article

RE: Returning too many rows....

  • Reply

JP, the HAVING clause has no effect in this query, because the estimateddate is part of the GROUP BY clause (and the MIN function is evaluated for each group and, of course, each group has only one date). I think the query should be written like this:SELECT r.roofid, c1.estimatedcost as CapCost, c1.estimateddate FROM tblcapitalexpenditures c1 INNER JOIN […]

You rated this post out of 5. Change rating

2004-07-25

Technical Article

RE: Getting rid of dynamic SQL in this stored procedure

  • Reply

Given the simplicity of the SQL I would simply duplicate the query on the other side of an IF.I've got something similar in some of my procs, but I have some really convoluted series of parameters.What I found was that trying to write a single SQL statement that encompassed all possibilities resulted in code that […]

2004-07-07

Technical Article

RE: compute clause

  • Reply

Tell you what...  it's a very bad habit that I have to not check BOL sometimes. I remenber when in our shop it was decided not to use compute by if favor of WITH ROLLUP but I stand corrected by Antares686!!!   you do get 2 recorsets per group on the output its probably something […]

2004-05-31

Technical Article

RE: DTS Question regarding Excel installation

  • Reply

HRm, though you're error message doesn't indicate this to be the problem - is the path to the test.xls file relative to the server?  For example, if the test.xls resides on a department share and the logged in user has an R: drive mapped to that share, the server doesn't have a mapped R: drive […]

You rated this post out of 5. Change rating

2004-05-26

Technical Article

RE: User-defined-function

  • Reply

This has added logic to validate after a friday holiday to move to monday.create function fn_NextTrDate(@TrDate datetime) returns datetime as begin  -- knock off the time part.  SET @TrDate = dateadd(d,datediff(d,0,@TrDate),0)        -- advance to next date (not using datepart because of @@datefirst concerns)         set @TrDate = dateadd(dd, case datename(dw, @TrDate)                                     when 'Sunday'   then […]

You rated this post out of 5. Change rating

2004-05-17

Technical Article

RE: Why must tables have PKs?

  • Reply

I am being told that there is no benefit to having a primary key defined, especially a surrogate key of identity if it is not used in joins.  We have another table of account information that does have unique rows (key is account_num) however the uniqueness is enforced only by an index that is created […]

2004-03-11

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