Questions tagged [routines]

103 questions
0
votes
1 answer

Moving a character smoothly

I would like to get a coroutine to move an uncontrolled unit across the screen. I built in some coroutines that wait for 5 seconds and then flip the npc so that the npc is facing the other way. The routine will do this every 5 seconds, however my…
cera
  • 1
0
votes
1 answer

mysqldump routines charset encoding problem

How could I possibly dump MySQL database structure and data on windows with mysqldump with polish characters ("ęóąśłżźćń") included? So far I've managed to dump it altogether using mysqldump.exe --default-character-set=cp1250. It…
shaff
  • 1
0
votes
0 answers

Why do all my procedures run when I import mysqldump file?

I execute the following statement from the cmd terminal to import my MySQL Database: mysql u- root p- database < "C:\Users\Tom\data.sql" When I open my MySQL Database from the MySQL Workbench I've realised that more tables have been created that I…
Sam
  • 67
  • 4
0
votes
2 answers

Can we modify the int 0x80 routine?

How does linux 2.6 differ from 2.4? Can we modify the source kernel? Can we modify the int 0x80 service routine?
kris
0
votes
1 answer

How to implement a stored procedure for the following query

I am having query as follows which will get multiple data at a time but I don't know how to write a stored procedure for this - can anyone help me? In code I am writing this string deleteSQL = "Select File_Data from tblachmaster WHERE Id IN (" +…
Developer
  • 8,390
  • 41
  • 129
  • 238
0
votes
1 answer

I have a co routine that once selected plays through. However If i go to select it again nothing happens. It does work the first time however

I have a co routine that once selected plays through. The co routine scales an object up. The second one it's selected it scales down the object. However If i go to select it again nothing happens. It does work the first time however. using…
jono
  • 35
  • 8
0
votes
1 answer

Add Dialogflow/Action/Assistant to routines

I am trying to program DialogFlow application with integration to Google Assistant (Actions on Google). What I need is periodical execution of my script in a certain time over chosen Google Home device - I managed to do that through Routines.…
0
votes
1 answer

Using like pattern in mysql case statement with two different tables

I have a table with names (names). I have another that holds ids (user). I have a conditional construct - a case-when statement that is supposed to insert an id into the user table if a name in the names table matches a certain condition. I have…
watkib
  • 347
  • 3
  • 11
  • 25
0
votes
0 answers

SQL Server automatically start routine

The title pretty much says it all: I want to automatically start a routine in MS SQL Server. More precisely, I have a routine (which deletes data from a table on a certain condition) that is supposed to run everyday, but I don't want to have an…
MetaColon
  • 2,895
  • 3
  • 16
  • 38
0
votes
1 answer

saving delphi routines and memory

This question is about being able to save routines, and being able to select them from a list…. When you select one it knows what to link where etc. Just for understanding. not the actual program Say I want to create a routine in a Delphi form. And…
dave123
  • 421
  • 1
  • 6
  • 15
0
votes
2 answers

How to recover the input of multiple go routines called in a loop

I have a loop throwing multiple go routines, they call a function that makes a http get petition and calculate and object. I want to recover the result of all those routines. I tried using channels, but hey are empty, even if I force wait for all…
Enrique Alcazar
  • 381
  • 7
  • 21
0
votes
0 answers

Declare Function in MySQL for MySQL Version 5.7.19-0ubuntu0.16.04.1

My Situation I am hosting a PHP Backend for an App with MySQL Database. I am not happy with my actual hoster, so I want to switch to AWS. I have set up an ec2 instance with lamp and everythings working fine, without my MySQL procedures. I have…
0
votes
0 answers

Error in Routine but not in SQL Editor MySQL

I want to crate a very basic routine in my mqsql mariadb that inserts data into a table. While testing in the SQL Editor, everything works fine: SELECT @userid:=rowid from userdata where username like 'testuser'; SELECT @now:=NOW(); INSERT INTO…
yesfabime
  • 814
  • 1
  • 12
  • 27
0
votes
1 answer

Routine in module is Undefined subroutine in perl

I have just installed the Crypt::Random module as well as all the dependencies such as Math::Pari. There are three routines in Crypt::Random and I don't know why perl is calling them 'undefined subroutine'. Thanks to whoever knows what is wrong.…
J. Linne
  • 275
  • 4
  • 15
0
votes
1 answer

Exporting MYSQL functions with different access privileges based on creator

From phpMyAdmin, I was exporting the functions/procedures used by the user assigned to a particular database and 3 functions didnt get exported because they were created by the 'superadmin'. I was able to see these functions within localhost >…
siliconpi
  • 8,105
  • 18
  • 69
  • 107