Viewing 15 posts - 7,891 through 7,905 (of 8,760 total)
If each partition holds 4 hours worth you will need 48 partitions (+1) to cover the eight days, maybe a days worth could be fine? All depends on the environment,...
July 5, 2014 at 2:11 pm
First thing that comes to mind is to partition the tables, have you looked into that?
😎
July 5, 2014 at 2:03 pm
sqldriver (7/5/2014)
You were half right, but it was right enough to get things working. The versions and paths both matched, but for some reason SSMS would run directly from...
July 5, 2014 at 1:23 pm
I've come across this problem few times in the recent past and found that Implicit conversion from CHAR/VARCHAR to NCHAR/NVARCHAR and vice versa, will cause Index Scans which can lead...
July 5, 2014 at 1:04 pm
Quick question, how are you invoking the SSMS, by clicking a menu item or short-cut?
If so, right click on the menu item/short-cut, select Properties and Open File Location. Then right...
July 5, 2014 at 6:19 am
Quick question, can you provide some sample data?
😎
July 5, 2014 at 3:43 am
Only one thing, if the date value of the null v entry is either the earliest or the latest within the partition, it will not be ignored. Setting it to...
July 5, 2014 at 3:24 am
First thought would be looking at any looping (i.e. ForEach) iteration's configuration. Next would be a file system problem where a parent folder is mounted in a child folder, could...
July 5, 2014 at 1:56 am
Use the same method, just null the date in the subquery
😎
USE tempdb;
GO
declare @t table (v1 int , v int, v2 datetime)
insert into @t values(4,10, '2014-01-01 10:00:00')
insert into @t values(5, 20,'2014-01-01...
July 5, 2014 at 1:13 am
Quick question, what is the expected output?
You could use MAX with the right window specification
😎
USE tempdb;
GO
declare @t table (v1 int , v int, v2 datetime)
insert into @t values(4,10, '2014-01-01 10:00:00')
insert...
July 4, 2014 at 10:09 pm
Quick pointer, the query is only a character string in the code and it never gets executed. Change the code to include the query not using a string.
😎
July 2, 2014 at 4:58 pm
Quick question, what is your SQL Server version?
😎
July 2, 2014 at 11:15 am
Jeff Moden (6/30/2014)
Eirikur Eiriksson (6/30/2014)
jcrawf02 (6/30/2014)
[music]Jeff sees you when you're sleeping, He knows when you're awake....[/music]...he's reading all your posts
and counting your mistakes
so you better...
😎
... sooooo, throw the packages out,
you...
July 1, 2014 at 6:53 pm
WayneS (7/1/2014)
SQLRNNR (7/1/2014)
Jeff Moden (6/30/2014)
Eirikur Eiriksson (6/30/2014)
jcrawf02 (6/30/2014)
[music]Jeff sees you when you're sleeping, He knows when you're awake....[/music]...he's reading all your posts
and counting your mistakes
so you better...
😎
... sooooo, throw the...
July 1, 2014 at 6:49 pm
STYLES (7/1/2014)
HOW TO CONVERT THE BELOW FROM PLSQL TO TSQLYTD_Deprn2=DECODE(SUBSTR(Period_Name,-2),SUBSTR(:Date,-2),DECODE(NVL(Prior Fy Expense,0),0,NVL(Ytd_ Deprn,0),Ytd Less Pfye),0)
YTD Deprn=DECODE(TRUNC(PYE Deprn Reserve+YTD Deprn2,2),0,0,YTD Deprn2)--
DECODE can be replaced by a case statement as it is...
July 1, 2014 at 10:25 am
Viewing 15 posts - 7,891 through 7,905 (of 8,760 total)