On this page: AWS SQL Server RDS to S3
They say that they provide a stored procedure which uploads a CSV file from the RDS SQL Server file system, out to S3.
The following example uploads the file named data.csv from the specified location in D:\S3\seed_data\ to a file new_data.csv in the S3 bucket specified by the ARN.
exec msdb.dbo.rds_upload_to_s3
@rds_file_path='D:\S3\seed_data\data.csv',
@s3_arn_of_file='arn:aws:s3:::bucket_name/new_data.csv',
@overwrite_file=1;
But nowhere can I find a way to export that file from a database on that server. RDS SQL doesn't come with SQLCMD and looks like BCP isn't available either.
So, if they are saying that you can upload a CSV, then why is there no capability to create that CSV?
Anyone else notice this?
Thanks!