Viewing 15 posts - 286 through 300 (of 399 total)
I added .mdf and it solved the problem. Another database attached. Thank you so much.
--Quote me
September 13, 2012 at 7:31 pm
Now I would like to reattach the old 2008 databases, but there is a problem there... if you don't mind saying a few words about it I'd appreciate. The...
--Quote me
September 13, 2012 at 7:16 pm
OH YOUR BLESSED GOODNESS. My domain account I believe is AKA the Windows account/password I used to log on to my laptop hundreds of times a day.
When...
--Quote me
September 13, 2012 at 7:07 pm
You were asked what Account are you using for the SQL Server Agent Service? Do you need someone to look at your screen shots to tell you what account you...
--Quote me
September 13, 2012 at 6:11 pm
Welsh Corgi, I'm not sure why you are alluding to SQL Server Express when I am using 2012. Also, the attached screenshot is of Configuration Manager...
--Quote me
September 13, 2012 at 5:07 pm
Hellooo Capn Hector to the rescue. Thank you very much.
To answer the first question, I run SSMS as admin by right clicking on the Sql Server Management Studio from start...
--Quote me
September 13, 2012 at 4:43 pm
This solution works, Thanks Sam.
I have a question about this line:
, startyear = isnull(cast(year(StartDate) AS CHAR(4)), 'All')
I understand ISNULL works because a NULL for startdate is created by the creation...
--Quote me
September 10, 2012 at 9:36 pm
So, like this? Note the index statement.
select
RANK() over (order by saledate) as rankOrder
, saledate
, saleprice
into #temp
from sales;
select * from #temp;
create index i_saledate on #temp(saledate);
;WITH CTE (rankOrder, SaleDate, [SalePrice],...
--Quote me
August 4, 2012 at 7:06 pm
Really? That's a compliment that boosts my confidence. Thanks!
--Quote me
August 3, 2012 at 10:57 am
Well here's how I solved it.
First, I assigned rank to the saledate so that cumulative totals were not against randomly ordered dates, then I inserted results into temp...
--Quote me
August 2, 2012 at 5:02 pm
How would you build rCTE when the column against which recursion is done is a SMALLDATETIME column and not SMALLINT?
Do I need to first order the dates using...
--Quote me
August 2, 2012 at 4:06 pm
Alan aka XMLSQLNinja. Thank you very much for the careful response and particularly for the rCTE. It was what I was after, but I had not felt I had...
--Quote me
August 2, 2012 at 12:56 pm
when I said thanks to you, Luis, it was for the relationship advice, not the palindrome idea.
--Quote me
July 30, 2012 at 12:43 pm
OK, so you reverse the expression, find the character you want, perform the operation, and then reverse the expression again to aright it.
I have seen such situations arise, I...
--Quote me
July 30, 2012 at 11:56 am
to avoid rollup by empid I used sum functions with each which allowed me to group by with rollup against just yrOrdered and moOrdered.
This query produces the results I wanted:
SELECT...
--Quote me
July 29, 2012 at 6:32 pm
Viewing 15 posts - 286 through 300 (of 399 total)