Viewing 15 posts - 361 through 375 (of 1,957 total)
As long as the parameter selections don't change, then the report will use cached data (stored in the project folder with a .data extension).
Technically it is still going to "run"...
December 17, 2014 at 5:29 pm
You could set the indicator to not visible when the value is N/A
December 17, 2014 at 5:22 pm
use COUNT() OVER... to select the ones you want.
with uniq as
(
select DOC_NO, REV_NO, FILE_NAME, ADD1, ADD2, ADD3, count(*) over(partition by DOC_NO, REV_NO) as cnt
from MYTABLE
where FILE_NAME <> '-'
)
select DOC_NO, REV_NO,...
December 12, 2014 at 7:28 pm
Have you tried running SSMS with activity logging enabled?
run it with the "/log" command line switch.
When it dies, before you allow it to restart look at the log for errors.
C:\Users\your...
December 11, 2014 at 5:13 pm
Select coalesce(c.ViewName, s.ViewName) as ViewName
from Advert.Adverts a
left outer join Category.Child_Categories c
on c.ChildCategoryId =a.ChildCatId
join Category.Sub_Categories s
on s.SubCategoryId =a.SubCatId
where A.AdvertId = @ItemId
December 7, 2014 at 3:59 pm
I can think of at least phive phive phive sicks nein too won ways of defeating whatever you try and code for.
December 5, 2014 at 4:53 pm
try this:
declare @dummy nvarchar(50) = 'PM1_BEEL_BWT_MD_2?_RTU.PV';
select @dummy;
The result is 'PM1_BEEL_BWT_MD_2?_RTU.PV', which is what you are putting in the table.
Why? try this:
declare @dummy varchar(50) = N'PM1_BEEL_BWT_MD_2?_RTU.PV' ;
select @dummy;
Same result - the...
December 3, 2014 at 1:22 pm
Another method I have used for a queue table is to delete the row and insert it into a user queue table, nothing is going to read it if it...
December 3, 2014 at 12:42 pm
Sri8143 (12/2/2014)
Its the Journey which gives you Happiness not the Destination-- Dan Millman
...my guess is that Dan Millman never had to fly economy to go on holiday or he wouldn't...
December 2, 2014 at 5:07 pm
One more thing, don't forget that you can check where the filtering will occur by examining the Execution Plan - looking at the properties (F4) of the Remote Query operator...
December 2, 2014 at 5:05 pm
I addition to the answer already provided, I would add that getting a collation match can make a massive difference, and using the COLLATE clause in the query doesn't seem...
December 2, 2014 at 5:03 pm
SQL_Baby (11/21/2014)
November 21, 2014 at 4:53 am
will75 (11/20/2014)
Is there any way I can deny connection from SSMS only from remote servers?thanks!
No, it is a normal connection like any other, and the only identifier within the connection...
November 20, 2014 at 6:12 pm
It is quite clear from the syntax definition that your intuition about bracketing is correct.
http://msdn.microsoft.com/en-us/library/ms177634.aspx
< table_source > ::=
{
... various options...
November 20, 2014 at 6:07 pm
You need to reference the local-name() of the element to use a variable in that way.
DECLARE @XML XML = '<Attribute>
<A1>6529</A1>
<A2>6529</A2>
<A3>6529</A3>
</Attribute>';
DECLARE @n VARCHAR(100) = 'A3';
SET...
November 20, 2014 at 5:39 pm
Viewing 15 posts - 361 through 375 (of 1,957 total)