Viewing 15 posts - 1 through 15 (of 15 total)
I was able to resolve the issue.
I had to use $env variable for this to work.
$databaseinput=$env:DATABASENAME
$sqlpassword=$evn:DBPASSWORD
$buildnumber=$env:BUILD_BUILDNUMBER
Thank you
December 13, 2021 at 8:51 pm
Hi Jeff,
Thanks for your reply. The script i included here is just a part of the long script. I did not see any other way to achieve what i was...
December 13, 2021 at 8:48 pm
do you mean this way? -:
[CmdletBinding()]
param (
$($databasename),
$($dbpassword),
$($buildnumber)
)
December 13, 2021 at 7:22 pm
December 13, 2021 at 6:04 pm
Hi Phil,
In my release pipeline i am trying to run the powershell script using "File path". In the arguments section i have passed what was defined in the variables section...
December 13, 2021 at 5:47 pm
Hi Phil,
That worked like a charm. Thank you so much, really appreciate that.
So, when i used $dbname instead of Master, does it assume that the database should exist? is that...
December 13, 2021 at 3:07 pm
Thank you for your reply Phil.
Yes, i am using master as default. below is the code -:
$sql = @"
USE [master]
RESTORE DATABASE $dbname FROM DISK = N'$fullpath' WITH FILE = 1,...
December 13, 2021 at 2:48 pm
Thanks Brian.
Both Azure SQL and SQL MI are restricted by IP addresses in our Network Security Group but like you said it will still be a good practice to implement...
May 18, 2021 at 8:07 pm
Thank you very much for your reply Brian.
you made the case perfectly with an apt explanation for every scenario. Appreciate your reply.
Thank you again
May 18, 2021 at 1:16 pm
Hi @frederico, Thank you, so to fulfill that request to get the data from data pages, can you please provide me some insight and/or documentation to how I can actually...
February 12, 2021 at 3:23 pm
Thanks @frederico, but wouldn't the data pages keep on changing every time we run index reorg or index rebuild?
February 11, 2021 at 7:33 pm
I agree @ken and @kristen
But is it even possible to get the first 25 and last 25 pages of data from the data pages since Data pages constantly...
February 11, 2021 at 4:17 pm
Thank you @steve-2, Appreciate your help
I have already done the restore using the URL by manually using the Restore commands mentioned in this article, however I am looking...
February 11, 2021 at 2:26 pm
Thanks for your message @Steve.
I need this script for a Data Migration project from Azure VM to Azure SQL MI.
I already have a backup script which directly backs...
February 8, 2021 at 4:54 pm
Thank you very much for your reply Lowell. I appreciate it.
Thank you again.
May 26, 2020 at 1:49 pm
Viewing 15 posts - 1 through 15 (of 15 total)