Viewing 15 posts - 1,231 through 1,245 (of 6,676 total)
Not really - if you can provide sample data from several different files, include the first 3 or 4 segments for each file - I can put something together to...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 15, 2021 at 7:15 pm
Can you provide some sample data? The first 3 or 4 segments from several files - without any protected/private information?
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 15, 2021 at 6:22 pm
You could change the $date parameter to a datetime data type - then create a separate variable for the string format:
[parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][datetime]$date,
$stringDate =...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 15, 2021 at 4:00 pm
Thanks for the feedack, Jeffrey...
I totally agree that trying to fully parse EDI files in SQL Server is a bit crazy and even I probably wouldn't go there, especially...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 14, 2021 at 11:11 pm
Let me answer your question with other question... What are you doing for logging of the file receipt and copy/move (whatever) and what are you using to schedule this...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 14, 2021 at 4:54 pm
You don't need a cmd or bat file - that is what powershell replaces and you don't need to look to a position in the file because the record is...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 14, 2021 at 3:07 pm
If I am reading the documentation correctly - switching to OCC in DynamicsAX changes the UPDLOCK to NOLOCK. If that is the case, then I wouldn't make that switch -...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 13, 2021 at 5:26 pm
SO there is a default format for inbound files
Position 36 of the record contains 1st parm and has a length of 15 Position 71 of record contains 2nd parm...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 13, 2021 at 4:58 pm
The above lookups are in the 1st record in file using criteria above. I need some help ...
THanks.
What's stopping you from reading the first two rows using Bulk...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 13, 2021 at 4:41 pm
This would be much easier using a Calendar table or function. We can get those counts by generating the list of dates - then counting the dates that are weekends,...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 11, 2021 at 10:33 pm
The files appear to be EDI files - which might lead to a problem. EDI files may not have CR\LF as record terminator - the EDI documentation will show the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 11, 2021 at 4:59 pm
Setting up the parameters as mandatory will also prompt the user. Try it..
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 10, 2021 at 11:43 pm
To setup parameters in a script - you can use something like this:
param (
[parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][string]$hdr,
[parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][datetime]$date,
[parameter(mandatory = $true, ValueFromPipelineByPropertyName...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 10, 2021 at 9:49 pm
When copying the files - you can use Robocopy with appropriate switched to copy the files and folders with permissions. I just recently did this on a server where the...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 10, 2021 at 8:30 pm
I do not know about the dbo.Catalog, dbo.ChunckData? but I do know we do nothing with SSRS.
Thank you
Someone - and some point in time - installed an instance of...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 10, 2021 at 7:58 pm
Viewing 15 posts - 1,231 through 1,245 (of 6,676 total)