Distributed Transactions

Technical Article

RE: Dynamic Security in Analysis Services / Drillthrough

  • Reply

As an example, I am filtering data by Geography.  What is happening is that the user has access to one Geographical region (UK), but this is the only region shown within its Parent (World), so when Analysis Services performs the Drillthrough, it takes the Parent value, searches by World and presents a security problem as […]

2004-07-06

Technical Article

RE: Cumulative Group By

  • Reply

CREATE TABLE calendar ( CalDate datetime PRIMARY KEY, CalYear int, CalMonth int ) INSERT INTO calendar values ('2003-04-01',2003,4) INSERT INTO calendar values ('2003-05-01',2003,5) INSERT INTO calendar values ('2003-06-01',2003,6) INSERT INTO calendar values ('2003-07-01',2003,7) etcSELECT c.CalYear,  c.CalMonth,  SUM(ISNULL(a.sales,0)) AS 'Total Sales' FROM calendar c  LEFT OUTER JOIN a   ON a.[date] < DATEADD(month,1,c.CalDate) WHERE c.CalDate >= '2003-04-01' AND c.CalDate <= '2004-03-31' […]

You rated this post out of 5. Change rating

2004-02-09

Technical Article

RE: moving sql to a new server

  • Reply

I am new to SQL but I was just tasked with moving a database from one server to another. I used sp_detach_db and sp_attach_db then copied the database to the new server. I then ran a script I found that migrates all users ID's and passwords. here is thatr script. Don't know if this helps. […]

You rated this post out of 5. Change rating

2003-08-19

1 reads

Technical Article

RE: Another query that takes too long

  • Reply

jraha - Good call! Joining is faster than using IN statements and using a subquery DOES mean that it gets executed for each row. By the way - does TOP mean anything here? The output does not seem to be ordered so why worry about the TOP? Sidebar: TOP N - ORDER BY have bad […]

You rated this post out of 5. Change rating

2003-07-17

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