Viewing 15 posts - 1,921 through 1,935 (of 6,679 total)
It would also help if you have a file specification from whoever is sending this file. They should be able to tell you what each field represents and the relationship...
March 31, 2020 at 6:48 pm
I believe you need to restructure the report to produce the single page for a person - and include a parameter to identify that person. Once you have that report...
March 31, 2020 at 6:43 pm
I don't think the difference in the systems is the determining factor in how fast this runs - it appears to me to be network related. As shown above, running...
March 31, 2020 at 6:36 pm
thanks Jeff.
so a bit slower on my pc - I7 4 core , 16GB ram, SSD drive - 29 seconds for same criteria.
on this type of multiple files output,...
March 31, 2020 at 2:33 pm
Open Windows Powershell ISE - this is the development tool for Powershell included with Windows 10.
You will need to include 2 variables that I excluded from the post. Those are:
$SQLServer...
March 31, 2020 at 2:18 pm
I ran a test against your JBMTest table - here is the code that was executed and the Get-Date output.
Get-Date;
$yearFrom = "2019-01-01";
$yearTo = "2020-01-01";
1..53 | foreach {
...
March 30, 2020 at 10:11 pm
Crap... I'm sorry Jeffrey. I hit "report" instead of "quote" on your post by mistake.
As for the partitioning, please don't put words in my mouth. The original decision to...
March 30, 2020 at 8:42 pm
You can do this in Powershell:
$weeks = @(); 1..53 | ForEach {$weeks += $_};Another method would be:
$yearfrom = "2020-01-01"
$yearto = "2020-01-01"
$exportfile = "c:\temp\datafile_--week--.csv"
1..53 |...
March 30, 2020 at 6:14 pm
'data access patterns and table structure' is meant to include inserts/deletes/updates/selects - all methods of accessing and using that table. And your answer is the same answer I have been...
March 29, 2020 at 3:49 pm
Is there a particular issue you are trying to resolve? Are you seeing performance issues related to the above questions - or is there another reason you are looking for...
March 29, 2020 at 3:02 pm
And, no... my 4 year long experiment also shows that you can't just not do any index maintenance although not doing any index maintenance (still rebuilding stats, though) is...
March 28, 2020 at 3:12 pm
I found that the easiest way to change the owner of a database in an AG - is the following:
March 27, 2020 at 5:10 pm
My question is: would that index with unique be unique? Will an insert fail if it is breaking the logic of the unique nonclustered index with include?
No - included...
March 26, 2020 at 9:47 pm
I get all that - but changing over to 7-zip is going to require modifying the Execute Process Task to call a different executable with different command line parameters.
Here is...
March 24, 2020 at 7:55 pm
Is there a reason why you cannot use the built-in .NET code?
In a script task, you can include the namespace System.IO.Compression and add a reference to System.IO.Compression.FileSystem - then use...
March 24, 2020 at 5:56 pm
Viewing 15 posts - 1,921 through 1,935 (of 6,679 total)