Viewing 15 posts - 811 through 825 (of 2,647 total)
I have two columns, ID and DocContent.
How would i structure my Select statement to display records in the first partition(up to 1000000 records) with an ID < 100?
SELECT ID, DocContent
FROM...
June 4, 2012 at 10:47 am
The best way is to query the known partition by restricting it. The database engine will take care of knowing where to look. So If mine is partitioned on month,...
June 4, 2012 at 10:45 am
Marius.D (6/4/2012)
June 4, 2012 at 10:39 am
Here is a script that I use, though I can't find the reference to it so I cannot give credit. However, I did not write it:
select
obj.name ...
June 4, 2012 at 10:18 am
What do you mean by "no longer hardcoding... an alias should be used." ? Not sure that hardcoding is really really related to an alias... An alias still can be...
June 4, 2012 at 10:13 am
What exactly are you trying to do? Count the number of rows contained in a specific partition?
June 4, 2012 at 10:11 am
Marius.D (6/4/2012)
UPDATE tableA
SET tableA.Other_Flag_50=isnull(Staging.other_flag_50,0)
FROM tableA INNER JOIN
(select...
June 4, 2012 at 10:05 am
river1 (6/4/2012)
SET @SQLString = 'select @maxVal = isnull(max(cod_sincronismo_fim),0)
...
June 4, 2012 at 9:56 am
One thing I can see being a potential problem is that the database user and the login are not synced. When you restore from 2000 to 2008, the id...
June 4, 2012 at 9:53 am
Change the SP or create a new one.
June 4, 2012 at 9:20 am
It doesn't make sense what you are doing. Why are you trying to use dynamic SQL when there is nothing dynamic there?
Just do this:
set @MaxTotalidade = select convert(bigint,isnull(max(cod_sincronismo_fim),0))
from SGCTCentral.dbo.sincronismo
where...
June 4, 2012 at 9:18 am
Sorry... Clicked send before I pasted it 🙂
http://msdn.microsoft.com/en-us/library/ms143550%28v=SQL.110%29.aspx
May 31, 2012 at 3:27 pm
Well... As a final update I have found that it will in fact be removed later on an MS site.
May 31, 2012 at 3:16 pm
Does anyone know if the feature is mentioned my MS as deprecated, or was this just noticed by some in the Wizard? I cannot find any actual MS documentation on...
May 31, 2012 at 3:07 pm
pveilleux (5/31/2012)
SQLKnowItAll (5/31/2012)
http://beyondrelational.com/modules/2/blogs/77/posts/11360/changing-sql-server-service-account-or-password-avoid-restarting-sql-server.aspx
Good point. I have always done a reboot to be on the safe side. This client has many, many, many processes that move data among multiple...
May 31, 2012 at 1:36 pm
Viewing 15 posts - 811 through 825 (of 2,647 total)