Warehouse

Technical Article

RE: Stored Proc vs Query

  • Reply

I removed the parameter from the SP and executed the SP (declare local variable and assign value instead) and it ran fine. I got the results in about 7 minutes. I tested this change in one server and I am testing it in other servers now. I will let you know. Thanks. 

You rated this post out of 5. Change rating

2005-03-08

Technical Article

RE: Making database smaller

  • Reply

I can't see your hard drive, so the image doesn't show, but the screen does take a few seconds to fill in (about 6 seconds for me). What I see in the mean time is some gray backround at the top for what will be a menu and three horizontal rules spaced out a bit […]

You rated this post out of 5. Change rating

2005-03-02

Technical Article

RE: SA Password

  • Reply

Jon McMullin - You need to read the rulles before posting unhelpful comments.People need to know that they can post their problem here without people sneering at them - we've all done silly things, but hopefully we learn by them. 

You rated this post out of 5. Change rating

2005-02-25

Technical Article

RE: PLEASE HELP NEEDED? - with a select avg

  • Reply

Here's a shot in the dark:USE NORTHWIND SELECT  CustomerID  , COUNT(*) No_of_Orders  , DATEDIFF(d,MIN(OrderDate), MAX(OrderDate)) TimeSpan  , COUNT(*)*1.0 / DATEDIFF(d,MIN(OrderDate), MAX(OrderDate)) DailyOrder FROM  Orders WHERE CustomerID = 'ERNSH' AND (OrderDate >='19960717' AND OrderDate <='19960723') GROUP BY CustomerIDBtw, since this is an exercise given to you, don't you think you should find the solution yourself?

You rated this post out of 5. Change rating

2005-02-24

Technical Article

RE: T-SQL query from a cube to the datasource database.

  • Reply

the following article could possibly help (it's about using AS and RS, look towards the end re: actions) but will depend a little on how dynamic you need to query.  If it's only ever going to return customers etc, then this may work for you.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/olapasandrs.asp steve.

You rated this post out of 5. Change rating

2005-02-20

Technical Article

RE: help with a query output

  • Reply

Thanks for the feedback. I tried this...-------------------------------------------<% var to = Server.CreateObject("ADODB.Recordset"); to.ActiveConnection = MM_s4r_STRING; to.Source = "SELECT newdate, news FROM dbo.news"; to.CursorType = 0; to.CursorLocation = 2; to.LockType = 1; to.Open(); var to_numRows = 0; %><%= Response.Write "&news=" & Server.URLEncode((to.Fields.Item("news").Value)) %> <%= Server.URLEncode((to.Fields.Item("newdate").Value)) %><% to.Close(); %>________________________________________--Response was 500 error. Microsoft JScript compilation error '800a03ee' Expected […]

You rated this post out of 5. Change rating

2005-02-14

Technical Article

RE: Super Sunday

  • Reply

I'm not too sure of the rules of American football however if you are prepared for a little foreign intervention try Rugby. If Rugby looks too sissy try Australian football. The Aussies don't like to waste drinking time so they seem to have integrated the best aspects of rugby and the post match punch-up into […]

You rated this post out of 5. Change rating

2005-02-13

Technical Article

RE: Timestamp on threads

  • Reply

Laughing - there are times I am working with my European collegues and their day starts many (many) hours before mine and ends somewhere within 30 minutes of my first cup of coffee at my desk. When I work with Asian countries I have the opposite issue. By the way, Frank is always on line.....

You rated this post out of 5. Change rating

2005-02-11

Blogs

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...

EightKB 2024 – Schedule and Registration

By

Hello Hello, We. Are. Back! The schedule for EightKB 2024 Edition has been announced!...

Inside SQL Server Backup and Restore History Pruning with sp_delete_backuphistory

By

I had a customer that was looking to document a restore that had occurred...

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