Viewing 15 posts - 1,381 through 1,395 (of 6,676 total)
If you leave off the sub-seconds and do not include a period - Excel should display it correctly. This appears to work just fine: convert(char(19), getdate(), 121).
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
January 19, 2021 at 7:51 pm
The question is a bit misleading - as it mentions a concern about the time zone (which isn't actually part of the string - the string contains an offset which...
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
January 19, 2021 at 6:07 pm
Hi Jeffrey, many thanks!
I have the column in my table telling me the last time rows were added.
I guess I could use that one, but if I do, isnt...
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
January 19, 2021 at 5:44 pm
My recommendation would be to convert to project deployment - install and configure Integration Services Catalog - and rewrite/rebuild your packages as projects and deploy to the catalog.
The benefits far...
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
January 18, 2021 at 9:59 pm
When using the ISO format YYYY-MM-DD in SQL Server on a British English language and converting (implicit or explicit) that value to a datetime data type - it will be...
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
January 18, 2021 at 9:55 pm
Do you have a table that tracks your data loads? That table should have a date/time column that identifies the last time the load was processed and completed successfully.
With 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
January 18, 2021 at 9:44 pm
From 2008/2012 (package deployment model) to 2019 - export the packages to the file system, create new projects, add packages - modify packages to work in project deployment model, deploy...
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
January 18, 2021 at 9:36 pm
You asked if there are other ways to accomplish your goal - and yes, there are several...all of which start outside SQL Server. Two (of the many) methods are:
...
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
January 14, 2021 at 4:46 pm
That is very similar to how I process files - but I am getting the date from the file name. I also did it the long way - using an...
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
January 12, 2021 at 9:54 pm
Interesting approach - it doesn't have to be the best as long as it gets the job done.
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
January 12, 2021 at 8:11 pm
Are you using SSRS for the reports - or something else? If SSRS - then you have the option of using shared datasets and can control when and how often...
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
January 12, 2021 at 5:17 pm
As stated in the other thread you posted to - the problem is that SQL Server Agent uses tokens, and tokens are defined by $(token). Since your code has 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
January 12, 2021 at 5:03 pm
Just to point out - you posted to a 2 year old thread. This really should be a new topic...
With that said, this issue was explained very well by Shawn...
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
January 12, 2021 at 4:57 pm
Using a script task - you can loop over the files, read the first 2 rows and build an array - sort the array as needed and return only 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
January 11, 2021 at 10:56 pm
FYI - I modified the query and removed the max_end column(s) as that isn't needed since we are now using @max_id.
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
January 11, 2021 at 9:56 pm
Viewing 15 posts - 1,381 through 1,395 (of 6,676 total)