Viewing 15 posts - 3,421 through 3,435 (of 13,469 total)
well, because your query is a catch-all-query, it's going to be a table scan, which will not be efficient at all; read a little bit more hear:
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
you could probably address...
May 21, 2013 at 12:26 pm
Jeff I've only file copied system files a couple of times when building backup machines; i know that the new server has to be the exact same version, ie you...
May 21, 2013 at 12:15 pm
they are both the same, the keyword NONCLUSTERED is optional and is the default value when you create a new index.
May 21, 2013 at 11:56 am
Google Translate (5/21/2013)
May 21, 2013 at 11:45 am
most likely permissions, as previously identified, but maybe i can help you find out the specifics.
if i right click on my temp folder, and go to the security tab, i...
May 21, 2013 at 11:30 am
dndaughtery (5/21/2013)
The code is below:
declare @ReturnValue int
exec @ReturnValue = s003pSRC.sp_Par_Rate_Compare_Report_Subscription_Condition
select @ReturnValue ReturnValue
I have run the sp in ssms and...
May 21, 2013 at 11:21 am
YSL I think i'd tackle it by changing one of the tables into a simple GROUP BY, that returns the distinct count inside it;
something like this is syntactically correct, but...
May 21, 2013 at 11:14 am
at three pages and growing, sometimes it's hard to track down everything.
this article has the Tally Table Definition and lot of usage examples:
May 21, 2013 at 9:59 am
adeel.imtiaz (5/21/2013)
Dear Gurus,How to the apply the ‘Auto Translate’ property of the SQL Native client (OLE DB) connection string in Power Builder 12.5 ?
Thanks
Malik Adeel Imtiaz
I saw your other post...
May 21, 2013 at 9:36 am
Abu Dina (5/21/2013)
The 2.6 billion total is after the insert of the 400 million.
cool to have such big table, I'm actually a bit jealous, because it presents a lot more...
May 21, 2013 at 7:21 am
yeah i would have thought of statistics as the issue as well;
ok we know it takes 20% of the rows int he table , + 500 rows to trigger auto...
May 21, 2013 at 7:10 am
i think using EXISTS is a little better, and is what I would typically do:
--does ANY data match the criteria?
IF EXISTS (SELECT
...
May 21, 2013 at 7:00 am
also, something like this, with a simple subquery would work as well:
SELECT * FROM MyTable
WHERE clientName IN (SELECT MIN(clientName) FROM MyTable)
ORDER BY clientName ASC;
May 21, 2013 at 5:06 am
are you familiar with Parameters yet?
DECLARE @Client varchar(50)
SET @Client = 'A123';
--SELECT @Client = MIN(clientName) FROM MyTable;
With MyCTE (clientName,col2,col3,col4)
AS
(
SELECT 'A123','val1','val2','val3' UNION ALL
SELECT 'A123','val4','val5','val6' UNION ALL
SELECT 'B234','val7','val8','val9' UNION ALL
...
May 20, 2013 at 1:46 pm
here's an example of EXECUTE AS with a super user:
now even as a super user, if you are trying to touch network shares or special folders , you might still...
May 20, 2013 at 1:07 pm
Viewing 15 posts - 3,421 through 3,435 (of 13,469 total)