Skip to main content

Questions tagged [sql]

0 votes
0 answers
49 views

I have been developing a task based system recently for a PHP project, which consists of tasks stored in a SQL database (MariaDB) for a queue, and a task worker PHP script to go through the queue and ...
Jacob Smith's user avatar
2 votes
1 answer
62 views

I wrote an Ansible playbook to grab information from some YAML files and store it in a MariaDB database. It uses this Jinja SQL template: REPLACE INTO mytable(hostname,fqdn,owner, ...) VALUES {% for ...
dr_'s user avatar
  • 32.4k
2 votes
2 answers
227 views

I have written an Ansible playbook to insert data into a MySQL database. It uses this Jinja2 template: INSERT INTO mytable(hostname,foo,...) {% if hostvars[h]['something'] is defined %} VALUES (`{{ ...
dr_'s user avatar
  • 32.4k
-3 votes
1 answer
34 views

For 'a%' why is one of the results that could be returned 'z6ra'?
Neutron's user avatar
0 votes
2 answers
163 views

I need to load multiple files in my shell script with the same filename but appended in the front of each file name is YYMMDDPERSONNEL Examples: 231102PERSONNEL and 230103PERSONNEL There are many ...
teejay's user avatar
  • 9
-1 votes
1 answer
94 views

So, let me see if I have my history right: In 1976, the first system sold as an RDBMS was Multics Relational Data Store. I don't know if it had JOIN, but let's assume it did. The UNIX command join ...
Sebastian Carlos's user avatar
0 votes
0 answers
800 views

How to display the sql query output to HTML table format output. am having shell script code to display output as html table format. and input is taken form sql query but am not getting the proper ...
Arthi's user avatar
  • 1
0 votes
1 answer
72 views

Is it possible to create tables based on a columns data? I currently have a table named Exchange which contains numerous columns ID:NAME:PRICE 1:Stick:12 2:Stone:20 3:Water:1 4:Water:1 But I want to ...
sql's user avatar
  • 1
0 votes
2 answers
11k views

I need to run a SQL query using SHELL script in PUTTY and send the results in email body in table format with headers along with a message line on top. I have written this so far but I am not able to ...
UserGoogle's user avatar
0 votes
1 answer
1k views

I am trying to install SQL server onto a Ubuntu machine on AWS and it has been nothing but trouble. I get stuck on the last step, configuring the server after selecting edition and setting an ...
Aguso1133's user avatar
0 votes
0 answers
178 views

I wanted to edit a already created filewatcher script with the given logic the source file path is stage path (stage/filewatcherwrap.ksh) there are 4 files in the below given format in stage path ...
Jayashree's user avatar
0 votes
1 answer
166 views

when I try to execute a query of type update the script hangs and the sql console stays still. This command executes all queries in the script: res=$(mysql --defaults-file=conf_file --skip-column-...
JJWRX's user avatar
  • 1
0 votes
2 answers
984 views

I want to install postgres and psql via a Slackbuild and I did so. After installing it I tried running the command as suggested in the readme of the Slackbuild but I get an error upon running it as ...
naarter's user avatar
  • 11
-1 votes
2 answers
195 views

I'm running a Debian 10 based distro. As an experiment, I downloaded one of these Wikipedia-like sites which gives you a download size of several gigabytes. I was hoping to run it offline. I don't ...
1toneboy's user avatar
  • 493
2 votes
2 answers
2k views

I'm trying to do a query and store every row result in an array element in ksh (maybe bash). I do: result=($($PATH_UTI/querysh " set heading off set feedback off SELECT columnA,columnb FROM user....
defekas17's user avatar

15 30 50 per page
1
2 3 4 5
11