Monday, March 19, 2012
Maintaining Remote SQL Database
I have a sql2k server hosted by my ISP. I need to get the database from
my local development server installed on the sql2k server maintained by
my ISP.
My ISP has told me that there is no enterprise manager access to the
server, any changes to the database need to be done through script or
some other means.
Can anyone provide some guidance on the best practices/methods for doing
this, the thought of manually creating all the tables/relationships/sp's
etc.. on the other machine sounds quite a complex process.
Thanks in advance,
Kieran
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!For the initial database create they will probably allow you to backup your
database and they will restore it. alternitavly use sp_detach_db and they
can attach.
For updates to procs etc you can issue CREATE / DROP / ALTER statements
through Query Analyser or send the .SQL scripts to the ISP
--
HTH
Ryan Waight, MCDBA, MCSE
"Kieran" <anonymous@.devdex.com> wrote in message
news:eePAoX%23kDHA.1948@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I have a sql2k server hosted by my ISP. I need to get the database from
> my local development server installed on the sql2k server maintained by
> my ISP.
> My ISP has told me that there is no enterprise manager access to the
> server, any changes to the database need to be done through script or
> some other means.
> Can anyone provide some guidance on the best practices/methods for doing
> this, the thought of manually creating all the tables/relationships/sp's
> etc.. on the other machine sounds quite a complex process.
> Thanks in advance,
> Kieran
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!|||Kieran <anonymous@.devdex.com> wrote in message news:<eePAoX#kDHA.1948@.TK2MSFTNGP12.phx.gbl>...
> My ISP has told me that there is no enterprise manager access to the
> server, any changes to the database need to be done through script or
> some other means.
> Can anyone provide some guidance on the best practices/methods for doing
> this, the thought of manually creating all the tables/relationships/sp's
> etc.. on the other machine sounds quite a complex process.
Hi
A web-based administration tool like myLittleAdmin can save you a lot
of time and work. More info, demo and free trial on
http://www.mylittletools.net/mla_sql
Best regards
el.c.
Friday, March 9, 2012
Mail Task in SSIS
Thank you for the quick response....when I have the windows authontications on I don't get any email sent but when I uncheck that optiong I can only send emails withing exchange addresses and not any email address..is there a work around this...or do I have to use a script ...(if so can you please help me with the script)
thanks, Emad
|||Talk to your exchange server administrator - whether you need authentication, and why the server does not allow sending mails to outside people. SSIS is just a client that submits mails to server, we are testing that it can do it successfully, but what happens to the mail on the server is dependent on mail server configuration and completely outside of SSIS control.|||use outlook client on the same machine (as SQL box) and see if you have the same problem, if the you have the same issue using outlook then this an exchange issue, if outlook can send it OK, then you have the investigate the problem on SQL.
you also can set up DatabaseMail in SQL 2005 and test the send mail process then use following T-SQL to send mail
sp_send_dbmail [ [ @.profile_name = ] 'profile_name' ][ , [ @.recipients = ] 'recipients [ ; ...n ]' ]
[ , [ @.copy_recipients = ] 'copy_recipient [ ; ...n ]' ]
[ , [ @.blind_copy_recipients = ] 'blind_copy_recipient [ ; ...n ]' ]
[ , [ @.subject = ] 'subject' ]
[ , [ @.body = ] 'body' ]
[ , [ @.body_format = ] 'body_format' ]
[ , [ @.importance = ] 'importance' ]
[ , [ @.sensitivity = ] 'sensitivity' ]
[ , [ @.file_attachments = ] 'attachment [ ; ...n ]' ]
[ , [ @.query = ] 'query' ]
[ , [ @.execute_query_database = ] 'execute_query_database' ]
[ , [ @.attach_query_result_as_file = ] attach_query_result_as_file ]
[ , [ @.query_attachment_filename = ] query_attachment_filename ]
[ , [ @.query_result_header = ] query_result_header ]
[ , [ @.query_result_width = ] query_result_width ]
[ , [ @.query_result_separator = ] 'query_result_separator' ]
[ , [ @.exclude_query_output = ] exclude_query_output ]
[ , [ @.append_query_error = ] append_query_error ]
[ , [ @.query_no_truncate = ] query_no_truncate ]
[ , [ @.mailitem_id = ] mailitem_id ] [ OUTPUT ]|||
use outlook client on the same machine (as SQL box) and see if you have the same problem, if the you have the same issue using outlook then this an exchange issue, if outlook can send it OK, then you have the investigate the problem on SQL.
you also can set up DatabaseMail in SQL 2005 and test the send mail process then use following T-SQL to send mail within SSIS
sp_send_dbmail [ [ @.profile_name = ] 'profile_name' ][ , [ @.recipients = ] 'recipients [ ; ...n ]' ]
[ , [ @.copy_recipients = ] 'copy_recipient [ ; ...n ]' ]
[ , [ @.blind_copy_recipients = ] 'blind_copy_recipient [ ; ...n ]' ]
[ , [ @.subject = ] 'subject' ]
[ , [ @.body = ] 'body' ]
[ , [ @.body_format = ] 'body_format' ]
[ , [ @.importance = ] 'importance' ]
[ , [ @.sensitivity = ] 'sensitivity' ]
[ , [ @.file_attachments = ] 'attachment [ ; ...n ]' ]
[ , [ @.query = ] 'query' ]
[ , [ @.execute_query_database = ] 'execute_query_database' ]
[ , [ @.attach_query_result_as_file = ] attach_query_result_as_file ]
[ , [ @.query_attachment_filename = ] query_attachment_filename ]
[ , [ @.query_result_header = ] query_result_header ]
[ , [ @.query_result_width = ] query_result_width ]
[ , [ @.query_result_separator = ] 'query_result_separator' ]
[ , [ @.exclude_query_output = ] exclude_query_output ]
[ , [ @.append_query_error = ] append_query_error ]
[ , [ @.query_no_truncate = ] query_no_truncate ]
[ , [ @.mailitem_id = ] mailitem_id ] [ OUTPUT ]|||
use outlook client on the same machine (as SQL box) and see if you have the same problem, if the you have the same issue using outlook then this an exchange issue, if outlook can send it OK, then you have the investigate the problem on SQL.
you also can set up DatabaseMail in SQL 2005 and test the send mail process then use following sp_send_dbmail within SSIS as T-SQL command.