data warehouse

Technical Article

RE: Alert is not triggered

  • Reply

Is there a reason that you are using a severity level of 1. Severity levels less than 11 are for informational purposes and this may be causing some of the things that you are seeing. The 16 in your Raiserror is where the <state> goes. This <state> does not seem to do much. I hope this helpsEric 

2005-05-18

Technical Article

RE: Single user mod

  • Reply

Nope, if you want to restore your DB then you'll need to kill off the connections to it first, either nicely or otherwise (depends on the DB and who's using it). 

2005-04-25

Technical Article

RE: Serach for free drive Space on all my SQL Servers

  • Reply

Sure thing!This is an introduction to some of the most interesting undocumented xp'shttp://www.sql-server-performance.com/ac_extended_stored_procedures.aspBut keep in mind, that mostly they are undocumented for good reasons. So, evaluate carefully if you want to rely on such features in production code.

You rated this post out of 5. Change rating

2005-03-23

Technical Article

RE: Query

  • Reply

How about something like this:___________________________________________________________declare @@counter integer declare @@appendsql varchar(1000) declare @@sql varchar(1000)set @@counter = 1 set @@sql = 'select 'WHILE @@counter < (select COUNT(distinct ID) from temp)  BEGIN  set @@appendsql = 'SUM(CASE ID WHEN ' + CAST(@@counter as varchar(1000)) +      ' THEN value ELSE 0 END) as ID' + CAST(@@counter as varchar(1000)) + ','   set […]

You rated this post out of 5. Change rating

2005-02-04

Technical Article

RE: SQLMail Problem (maybe)...

  • Reply

Doesn't look like my last post went through...Derrick, you might have something there. I'll be checking with our Exchange Admin on that. Although, our Dev servers use the same config as our prod machines (albeit with a different domain account), and they seem OK. Thanks!!!!!! Josh

You rated this post out of 5. Change rating

2004-07-06

Technical Article

RE: Constraint Questions

  • Reply

- use decimal[(p[, s])]  check BOL in stead of float.- check constaints can help to delimit values :   from BOL :      ALTER TABLE doc_exd           ADD CONSTRAINT exd_check CHECK (column_a between -99 and +99)      alter table dox_exd              ADD CONSTRAINT exd_check_precision CHECK (case column_a - cast(column_a as integer) when  0 then 1 when 0.5 […]

You rated this post out of 5. Change rating

2004-04-20

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

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