click run or windows to run below application
fsmgmt.msc
Browse to the session, to see current session connected to your shared folder and user. Click close connection\kill.
Monday, September 7, 2015
Tuesday, February 24, 2015
MySQL INSERT INTO VALUES and SELECT multiples row of data
Found a way to insert into a table some value i've and one i get from a select from other table
I have the value of ''string" and the 10, but i've to find that [int] from a select like this:
Use an
A problem I've found with this approach is that if the
INSERT INTO table1 VALUES ("string", 10, [int]).
I have the value of ''string" and the 10, but i've to find that [int] from a select like this:
SELECT idTable2
FROM table2
WHERE ...
Solutions:Use an
insert ... select
query, and put the known values in the select
:insert into table1
select 'A string', 5, idTable2
from table2
where ...
Issue that may come out:A problem I've found with this approach is that if the
SELECT
returns zero records then the statement succeeds but no data is INSERT
. – Neil C. Obremski Feb 13 '14 at 1:52
Sunday, January 11, 2015
Android : Toast inside a fragment
Hello,
another tips. I come around an error of
while i try to toast inside a fragment. TO remove the error,simple replace the toast
Toast.makeText(getApplicationContext(), (String)data.result, Toast.LENGTH_LONG).show();
to
Toast.makeText(getActivity(), (String)data.result,
Toast.LENGTH_LONG).show();
Cheers.
another tips. I come around an error of
the method getApplicationContext() is undefined
while i try to toast inside a fragment. TO remove the error,simple replace the toast
Toast.makeText(getApplicationContext(), (String)data.result, Toast.LENGTH_LONG).show();
to
Toast.makeText(getActivity(), (String)data.result,
Toast.LENGTH_LONG).show();
Cheers.
Subscribe to:
Posts (Atom)