Viewing 15 posts - 11,056 through 11,070 (of 15,381 total)
This sounds a lot like homework. As such you will find people here willing to help guide you but not many that will provide you with code. The reason is...
August 8, 2012 at 8:10 am
No worries. It is hard to put your thoughts on "paper" in such a way that others can understand it. It seems that perhaps you read the article I suggested....
August 8, 2012 at 8:07 am
Nice of you to post DDL though Sean.
Thanks. Now if we can just the OP to clarify the question we can knock this out in about 3-4 minutes. 😛
August 8, 2012 at 7:58 am
You can't execute a query against a variable like that.
select @execquery = N'Select * from dbo.' + quotename (@tablename)
EXECUTE sp_executesql @execquery
This is where I am stumped. After I execute the...
August 7, 2012 at 3:48 pm
mick19790 (8/7/2012)
I just wanted to know how i go about permutating ever pair for classifcation.
Literally 200 000 cases.Too much to do...
August 7, 2012 at 3:43 pm
alen teplitsky (8/7/2012)
select run_date, server_name, database_name, table_name, rowsfrom table_rows as a
where run_date > GETDATE() -1
order by server_name, database_name
i have a table where i import row count data for master and...
August 7, 2012 at 2:58 pm
Duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1341531-391-1.aspx
August 7, 2012 at 2:44 pm
mick19790 (8/7/2012)
...
August 7, 2012 at 2:12 pm
In my experience the DTA is pretty suspect about the suggestions it makes. Definitely use the suggestions with a grain of salt.
It sounds to me like you need to...
August 7, 2012 at 1:56 pm
Just use DBCC Timewarp and you can the Harley today!!!
The funny thing is that your points show as 9,990 next to your icon but shows as 10,000 on the last...
August 7, 2012 at 1:52 pm
You might also take a look at Gail's blog post about "catch all" queries. http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/%5B/url%5D
She does a great job of explaining some options and how best to code for scenarios...
August 7, 2012 at 1:36 pm
SQLRNNR (8/7/2012)
Luis Cazares (8/7/2012)
SQLRNNR (8/7/2012)
mtassin (8/7/2012)
Steve? Come on...
Not that it matters for this one... but it did...
August 7, 2012 at 12:11 pm
Luis Cazares (8/7/2012)
SQLRNNR (8/7/2012)
mtassin (8/7/2012)
Steve? Come on...
Not that it matters for this one... but it did look...
August 7, 2012 at 12:10 pm
gerard-593414 (8/7/2012)
So, I gather then that ypu need to mention the Parameter twice ?
Once just after the Procure name
....ALTER PROCEDURE [dbo].[TestSPR]
... @P1 int
and again in the...
August 7, 2012 at 11:41 am
Because you didn't define your scalar inside your string.
The bad part of this is that you receive @p1 as a parameter and then you execute it. That is probably the...
August 7, 2012 at 10:11 am
Viewing 15 posts - 11,056 through 11,070 (of 15,381 total)