Viewing 15 posts - 646 through 660 (of 2,647 total)
asranantha (6/15/2012)
supooste a table data contains like
...
June 16, 2012 at 11:36 am
Another option is to look into the max memory setting for SQL Server. You can lower that, but be wary that when you do it may affect performance. ...
June 16, 2012 at 11:32 am
Nadrek (6/15/2012)
What I would suggest instead...
June 15, 2012 at 12:57 pm
David Webb-200187 (6/14/2012)
June 14, 2012 at 2:42 pm
lol No problem! The ranking functions are on my blog (sqlknowitall.com). I haven't really been good at updating it since I recently started it and am not good at...
June 14, 2012 at 2:35 pm
And please don't misunderstand... We are not saying that you are lying or incompetent or anything. We are saying that something is unbeknownst to us AND probably you that...
June 14, 2012 at 2:12 pm
Try this:
USE tempdb
GO
DECLARE @Quality_Monitoring_RowSequence TABLE
(ref nvarchar(60)
,SAMPLE_ID int
,SAMPLE_DATE datetime
,template_descr nvarchar(512)
,template_id int
,STARTING_DATE datetime
,FREQ_UNIT int
,FREQ_VALUE int)
INSERT INTO @Quality_Monitoring_RowSequence (ref, SAMPLE_ID, SAMPLE_DATE, template_descr, template_id)
SELECT 'Churchill Treatment Plant', 13334, '2011-09-03 00:00:00.000', 'Treatment Works final...
June 14, 2012 at 2:06 pm
SQL_NuB (6/14/2012)
SQLKnowItAll (6/14/2012)
SQL_NuB (6/14/2012)
SQLKnowItAll (6/14/2012)
SQL_NuB (6/14/2012)
Lynn Pettis (6/14/2012)
SQL_NuB (6/14/2012)
The data returned is going to be used on reports...
June 14, 2012 at 1:47 pm
Ok, here is my assembly of your sample data. Let me continue to work on a solution. Have you tried anything yet?
USE tempdb
GO
DECLARE @Quality_Monitoring_RowSequence TABLE
(ref nvarchar(60)
,SAMPLE_ID int
,SAMPLE_DATE datetime
,template_descr nvarchar(512)
,template_id...
June 14, 2012 at 1:45 pm
SQL_NuB (6/14/2012)
SQLKnowItAll (6/14/2012)
SQL_NuB (6/14/2012)
Lynn Pettis (6/14/2012)
SQL_NuB (6/14/2012)
The data returned is going to be used on reports so no...
June 14, 2012 at 1:38 pm
SQL_NuB (6/14/2012)
The data returned is going to be used on reports so no filtering right now, just put...
June 14, 2012 at 1:35 pm
SQLKnowItAll (6/14/2012)
Also, I noticed that the samle data that you provided has less columns than the insert statement you provided. Why is that?
June 14, 2012 at 1:33 pm
SQL_NuB (6/14/2012)
Lynn Pettis (6/14/2012)
SQL_NuB (6/14/2012)
The data returned is going to be used on reports so no filtering right...
June 14, 2012 at 1:31 pm
Thanks for that. Maybe you didn't see my post directly before yours, but after my first post... Can you please post the create table statement for the table? ...
June 14, 2012 at 1:26 pm
Use the OR operator?
select make, model, year, location, agent
from Rentals
where status = 'returned' OR status = 'rented'
My guess is that by the time you combine them all you will...
June 14, 2012 at 1:08 pm
Viewing 15 posts - 646 through 660 (of 2,647 total)