Find Jobs
Hire Freelancers

Powershell Script - SQL Server - To script my database objects. -- 2

$30-250 USD

Finalizat
Data postării: peste 3 ani în urmă

$30-250 USD

Plata la predare
I need someone to write PowerShell script for SQL Server (using SMO). The script should be scheduled on the server and then run periodically (or by running the script file). Background: Our development team is using SQL Server database. At times they make changes in Table structures, Views, Stored Procedures and Functions. I want to record these changes in GitHub on daily basis. (GitHub portion is not part of this project). Expectation: - A powershell script file will be executed daily that will connect to a SQL Server and will perform following activities (based on a Configuration Criteria). - Script the structure of all tables based on a specified search criteria, as stored in the configuration file. (For example Script the tables starting with “ABC_”). - Script the data of all tables based on a specified search criteria, as stored in a configuration file. (For example: Script the all tables starting with names like “%data%). - Script views based on filter criteria (e.g. Script Views starting with “DEF”). - Script Stored Procedures with names as per search criteria - Script Functions with names as per search criteria. - Keep all variables to be configurable (e.g. Path to create Scripts, Database Connection String info etc. idea is that these variables can be updated at the top of PowerShell file (or in a separate configuration file). Starting Point: - To give you a starting point, following scripts works perfectly on my SQL Server. It scripts the structure and data of 1 table. I want to do similar things on full collection based on Filter criteria. You can use it as a starting point of your code. << Code block begins>> [[login to view URL]]::loadwithpartialname("[login to view URL]") | out-null $BasePath = "C:\Users\myName\Documents\MyScripts"; $FileName = "$BasePath\[login to view URL]"; $Server = "MY-DB" $Database = "MY_DEV" $TableName = "MY_Configuration" $srv = New-Object (‘[login to view URL]’) $Server $so = New-Object('[login to view URL]'); $s = New-Object('[login to view URL]') ($srv); If (Test-Path $FileName) { del $FileName; } $TableList = $[login to view URL][$Database].Tables; $[login to view URL] = 1; $TableList | ?{$[login to view URL] -eq $TableName} | %{ $[login to view URL]($_) | Out-File "$FileName" -Append; $[login to view URL]; } << Code block ends>>
ID-ul proiectului: 28858510

Despre proiect

11 propuneri
Proiect la distanță
Activ: 3 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
Hi, I am a c# developer for past 7+ years, Have developed many C# windows and web Application(Asp.net ,MVC, Enity framework). Also have been worked with fortune companies and received appreciation. Have experience in javascript, jquery, Angularjs etc., Also have experence in SQL,SSIS package., have written lot queries for large size database
$50 USD în 7 zile
4,9 (6 recenzii)
3,7
3,7
11 freelanceri plasează o ofertă medie de $171 USD pentru proiect
Avatarul utilizatorului
Hello, I am a powershell and SQL expert and i can help you to export the data via powershell script Please ping me for further discussion thanks
$240 USD în 3 zile
5,0 (74 recenzii)
6,0
6,0
Avatarul utilizatorului
I can develop required script in a most qualitative way because I am Senior MS SQL Developer with ten-plus years of development experience and with strong professional expertise.
$250 USD în 2 zile
5,0 (21 recenzii)
4,2
4,2
Avatarul utilizatorului
Hey there, I'm an automation expert. I have developed tons of PowerShell scripts. I can help. Regards.
$250 USD în 7 zile
5,0 (8 recenzii)
4,2
4,2
Avatarul utilizatorului
Dear, I have extensive experience creating scripts in Powershell, I have created many scripts of all kinds and previously I have made scripts to perform tasks in SQL Server, I can make the script you need, please write to me and we review the details and start the work, greetings
$100 USD în 7 zile
5,0 (3 recenzii)
2,5
2,5
Avatarul utilizatorului
Hello there, I am Mr. Kadir from USA. I have a good experience in freelancing carrier. I and my friends are working together. We will effectively complete your task accurately, quickly, and manually in time as your requirement because of being expert in this field. I have read your project description. We feel ourself to be perfect for this task. Obviously, I will make sure that you will have got your service perfectly from me with confidence. Our work is ethic and above all versatile. Let's discuss more over chat. Best Regards, Mr. Kadir.
$140 USD în 7 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
7 years of working Experience in SQL server and powershell script with companies like adobe, Nttdata
$35 USD în 2 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
Hi I have 15 years of experience in SQL server Database development. I will be able to help you with the project. please ping me offline to discuss further.
$278 USD în 7 zile
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
I have a great experience working with Powershell, SMO and SQL Server and also worked on similar projects using SMO. Please do let me know if you are interested to work with me.
$140 USD în 7 zile
0,0 (0 recenzii)
0,0
0,0

Despre client

Steagul UNITED ARAB EMIRATES
Dubai, United Arab Emirates
5,0
5
Metoda de plată a fost confirmată
Membru din aug. 29, 2009

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.