The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
20 views

use variable to determine the name of a column in the select in postgre

I'm trying create a update for a new structure of tables from a old table, but not using functions. I'm trying create a script to it. The old table is like this: -- old table (OldTable) name| col_a | ...
1
vote
1answer
178 views

MySQL backing up MyISAM tables by copying the physical files - and automating the process

I have 2 databases with MyISAM tables running on a Windows 2008 Server. These databases are about 20GB in size with a few tables with millions of rows. My question regards backing them up on a weekly ...
0
votes
1answer
36 views

Need to Unzip, Unencrypt, and restore a SQL Server DB [closed]

We need a tool or script that is configurable, and can unzip, decrypt, and restore a SQL Server 2008 DB on a Windows Server 2008 R2 server. Whether script, batch, or app, it needs to be configurable ...
1
vote
1answer
44 views

Copy SQL Logins and Permissions From One Server to Another

I need to duplicate all Logins and their associated database-level permissions from one server to another. I am using SQL Server 2008 R2 for Server A and SQL Server 2012 for Server B I am able to find ...
0
votes
0answers
16 views

store code/script value as text in database

I have the following situation: I have to work with software, developed in Java, that allows the user to input some custom scripts in order to do some calculations. so i have to store/save the ...
1
vote
1answer
56 views

Script to Output Tables to CSV Showing Heading Only Once [duplicate]

I am trying to write a script that will output a table to a CSV. The tricky part has been to get the output to only show the header once. The script below does not show the header at all. The other ...
0
votes
1answer
38 views

In SQL*Plus, how do I run @https://here.is.url/script.sql behind a proxy?

In SQL*Plus, I try to run a script that is stored at a certain URL. From where I am currently, I can http(s) connect with the internet only via a proxy. So, if in SQL*Plus, I try ...