Viewing 15 posts - 4,336 through 4,350 (of 4,477 total)
I don't know if it's deliberate or not but typically for your own management type of application they encourage the use of SMO since that's what it was designed for....
September 13, 2016 at 11:17 am
junk.mail291276 (9/13/2016)
EXEC master.dbo.sp_BackupDatabases @backupLocation='C:\SQLBackups\', @databaseName='RiskAliveDev', @backupType='F'
That works in SQL Server Management Studio (I right click on the database connection containing master.dbo.sp_BackupDatabases and also RiskAliveDev and say 'New Query' and paste...
September 13, 2016 at 10:55 am
1. Is this really true? Does the SQL Agent really set QUOTED_IDENTIFIER OFF; for T-SQL job steps? I did not find any mention of this in the MSDN...
September 12, 2016 at 12:37 pm
Execute the command to do the backups from a query window (outside of the batch file) yourself.
Just this part:
EXEC master.dbo.sp_BackupDatabases @backupLocation='C:\SQLBackups\', @databaseName='RiskAliveDev', @backupType='F'
If you still get the error then...
September 12, 2016 at 9:56 am
Thanks but those don't really give the instances. And the other gives the version of SSMS.
But...going back to your original post, the problem was not finding the stored procedure....
September 9, 2016 at 1:41 pm
So, I am confused as to which sql login, the REPORTUser_Example used in the Report Manager Datasource or the generic sql login within the datasource within the actual report (.rdl)...
September 9, 2016 at 12:58 pm
briancampbellmcad (9/9/2016)
September 9, 2016 at 12:37 pm
SQL-DBA-01 (9/7/2016)
HiCan you please suggest in which situation does it make sense to run:
USE [user_db/anydb]
EXEC sp_monitor
What is my benefit of using such internal SP?
It gives you a...
September 9, 2016 at 12:23 pm
cp.ap.pp (9/7/2016)
#EDIT# Since 10 people have looked at this and no suggestions I will pose yet another related question. As this server is a VM and I have seen what...
September 9, 2016 at 12:11 pm
junk.mail291276 (9/9/2016)
sqlcmd -U [domain]\[username] -P [password] -S (localdb)\ProjectsV12 -Q "EXEC master.dbo.sp_BackupDatabases @backupLocation='C:\SQLBackups\', @databaseName='RiskAliveDev', @backupType='F'"
A few things that are different:
* Using my Windows credentials.
* Connecting to (localdb)\ProjectsV12...
September 9, 2016 at 10:23 am
Just a quick thought -
It could just the the same issues hit when using the sp_MSForech stored procedures - objects can end up skipped due to changes in the...
September 8, 2016 at 1:38 pm
mw112009 (9/8/2016)
The code for a SP goes in this table. Similarly how can we get the DEFINITION of a view
select [definition] AS ProcDef from sys.sql_modules
USE YourDatabase
GO
SELECT OBJECT_NAME(object_id), definition
FROM...
September 8, 2016 at 12:04 pm
If you want a way to do it from the command line, you can use sc query. If this is still for your local installation, you can use:
sc query "SSRS...
September 8, 2016 at 11:50 am
Have you tried fully qualifying the call to the stored procedure, i.e.
EXEC master.dbo.sp_BackupDatabases
Sue
September 8, 2016 at 11:36 am
Didn't realize you had duplicated this post and have info in another post.
Refer to: http://www.sqlservercentral.com/Forums/Topic1815590-3411-1.aspx
Sue
September 7, 2016 at 12:38 pm
Viewing 15 posts - 4,336 through 4,350 (of 4,477 total)