Viewing 15 posts - 2,431 through 2,445 (of 7,191 total)
You could try [font="Courier New"]sqlcmd -L[/font]. It works better on some networks than others, though. Read the sqlcmd page in Books Online so that you understand the limitations.
John
July 21, 2016 at 7:38 am
This will return 1st April from the year two years before the given date. If you need the date presented in a particular way, do that in the application....
July 21, 2016 at 4:12 am
Or you could go with 13, 26 and 39 weeks, to make it more likely that the manger will be informed on a working day. Start with a query...
July 21, 2016 at 3:22 am
Jeff Moden (7/20/2016)
John Mitchell-245523 (7/20/2016)
July 21, 2016 at 2:28 am
Jeff Moden (7/20/2016)
John Mitchell-245523 (7/20/2016)
Jeff Moden (3/4/2016)
John Mitchell-245523 (3/4/2016)
REVERSE the string, use SUBSTRING, and then REVERSE it again.John
Got code?
(Didn't see this response when it was posted.)
No, I haven't. I've...
July 21, 2016 at 2:07 am
Amit
Typically, detailed output from SSIS packages isn't written to the job history. You could try piping the output to a file or a table, or even into the job...
July 20, 2016 at 10:28 am
Jeff Moden (3/4/2016)
John Mitchell-245523 (3/4/2016)
REVERSE the string, use SUBSTRING, and then REVERSE it again.John
Got code?
(Didn't see this response when it was posted.)
No, I haven't. I've suggested to the original...
July 20, 2016 at 10:16 am
Jeff Moden (7/19/2016)
John Mitchell-245523 (7/19/2016)
RESTORE is not allowed in an explicit or implicit transaction.
By the way, I don't think you need to...
July 20, 2016 at 2:49 am
Yes, because [font="Courier New"]GO[/font] starts a new batch, so your variable declarations are forgotten.
It looks as if either your differential was taken before your full, or there was another full...
July 19, 2016 at 9:47 am
Have a look at this page. In particular:
RESTORE is not allowed in an explicit or implicit transaction.
By the way, I don't think you need to switch back to multi-user....
July 19, 2016 at 9:24 am
What does this return?SELECT wait_duration, wait_type, blocking_session_id
FROM sys.dm_os_waiting_tasks
WHERE session_id = 297
You may wish to execute the query a few times to see whether it changes.
John
Edit - corrected typo in query
July 19, 2016 at 5:44 am
Steve
You're right about PARTITION BY, but you just need also to add PolicyRef to the join predicate:WITH Prems
AS
(
SELECT
PremiumRef
, PolicyRef
, PolicyPremiumDate
, Amount
, ROW_NUMBER() OVER (PARTITION BY PolicyRef ORDER BY...
July 19, 2016 at 4:57 am
Stuart Davies (7/19/2016)
Have you tried DBforge SQL complete?ETA - I've had a look at their website (https://www.devart.com) and they don't say that they support anything higher than SQL 2014
Indeed. ...
July 19, 2016 at 3:58 am
Have you tried a unique filtered index?
John
July 19, 2016 at 3:17 am
What do you get if you run this query?
SELECT log_reuse_wait_desc
FROM sys.databases
WHERE name = 'tempdb'
John
July 19, 2016 at 2:10 am
Viewing 15 posts - 2,431 through 2,445 (of 7,191 total)