Viewing 15 posts - 3,301 through 3,315 (of 7,164 total)
Try shrinking by a very small amount. Can you restore the DB to a test area so you can drop into SINGLE_USER mode and try the shrink, or can you...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 29, 2012 at 8:51 am
durai nagarajan (8/29/2012)
opc, i'll try that but how about deleting files on a date range basis.
A simple chore with PowerShell. Here is a one-line PowerShell command that does the work...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 29, 2012 at 8:22 am
You're welcome. I try to pass along the latest info regarding the System and Catalog Views to keep the ball moving forward so to speak. The newer Views have more...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 28, 2012 at 3:26 pm
nzhang6666 (8/28/2012)
Actually in my first proc (nz_test1) I just want to make sure to turn on 'xp_cmdshell' and 'ad...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 28, 2012 at 3:19 pm
bwperrin (8/28/2012)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 28, 2012 at 11:00 am
You could always switch to a CmdExec step type. Or write a PowerShell script to interact with the file system, which it is more capable of doing than T-SQL.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 27, 2012 at 4:03 pm
I have used SSRS report subscriptions to send renderings of reports places on a schedule. This would help satisfy the requirement to send the report to your users on a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 27, 2012 at 3:41 pm
If you can use the SQLCLR here is an option that is a bit more expressive in terms of the syntax:
SELECT p.Prod_Name,
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 27, 2012 at 1:53 pm
Thanks for posting back. As far as I know the validation errors you are seeing are considered non-fatal so SQL Agent carries on as usual. In your package you can...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 27, 2012 at 10:02 am
You didn't answer my question.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 27, 2012 at 6:57 am
No problem. Happy to help. I am learning from this too.
Maybe you could try it with a local login just to see if you can isolate it to being a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 26, 2012 at 8:53 am
The Bulk Insert Task will work but I prefer using a Flat File Source with an OLE DB Destination setup w/ FastLoad.
The former replaces the need for a format file...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 25, 2012 at 6:59 pm
If you want the package to keep going then you cannot fail the Task. I looked up the exceptions that can be thrown by the DownloadFile method and you'll likely...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 24, 2012 at 7:09 pm
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 24, 2012 at 6:43 pm
Use a return code.
Zero typically means 'no error' and non-zero typically means 'problem occurred'.
-- proc 1:
ALTER PROC [dbo].[nz_test1]
AS
BEGIN TRY
EXEC sp_configure
...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 24, 2012 at 3:51 pm
Viewing 15 posts - 3,301 through 3,315 (of 7,164 total)