Welcome to Onlinetunes24 .....
We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.
This is default featured post 1 title
We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.
This is default featured post 2 title
We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.
This is default featured post 3 title
We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.
This is default featured post 4 title
We are committed to become your long-term, trusted partner. Our priority is not only to provide professional services and solutions but to become your IT vendor dedicated to meet your needs today and support your growing business needs tomorrow.
MySQL UPDATE a column value with add or subtract
How to change the document root in XAMPP on windows ?
- Open the file httpd.conf from the location C:/xampp/apache/conf
- Search for DocumentRoot and you will get something like this
DocumentRoot “C:/xampp/htdocs”
- Update the DocumentRoot to new location. For example, if you want to
update the DocumentRoot to D:/www , then you will have the following
line after updating the location
DocumentRoot “D:/www”
- Then find the Directory and you will fine something similar to
<Directory “C:/xampp/htdocs”>
- Update it to new location like this
<Directory “D:/www”>
- Then finally restart the Apache server using XAMPP control panel or manually.
How to Solve XAMPP Problem Port 80, 443 in use by Skype ?
Port 80 in use by "c:\program files (x86)\skype\phone\skype.exe"!
Port 443 in use by "c:\program files (x86)\skype\phone\skype.exe"!
The easiest way to solve this XAMPP problem is shutdown your Skype, and
restart your XAMPP Control Panel. But that is not a smart solution.So how to solve this port in use issue? In Skype Options: [Connection] , there is a check-box labelled
Use port 80 and 443 as alternatives for incoming connections
. This is the root problem, so simply clear / unchecked it and save. You may need to restart Skype.
Restart your XAMPP Control Panel, and the error message is now gone! Try to start Apache, and succeeded.Config
button, and select the Apache (httpd.conf).httpd.conf
file, find line that says
Listen 80
Listen 8080
ServerName localhost:80
ServerName localhost:8080
Config
button again, but this time select the Apache (httpd-ssl.conf). Inside the httpd-ssl.conf
file, find line that saysListen 443
Listen 4433
httpd-ssl.conf
file, find another line that says<VirtualHost _default_:443>
ServerName localhost:443
<VirtualHost _default_:4433>
ServerName localhost:4433
httpd.conf
file and httpd-ssl.conf
after you make some changes.Now it’s time to fire-up our Apache in XAMPP Control Panel. If your doing good on editing those files, you should see that Apache is running and the port number has changed to 8080 and 4433.
SQL ROUND() Function
The ROUND() Function
The ROUND() function is used to round a numeric field to the number of decimals specified.SQL ROUND() Syntax
SELECT ROUND(column_name,decimals) FROM table_name
|
Parameter
|
Description
|
column_name
|
Required. The field to round.
|
decimals
|
Required. Specifies the number of decimals to be returned.
|
SQL ROUND() Example
We have the following "Products" table:
Prod_Id
|
ProductName
|
Unit
|
UnitPrice
|
1
|
Jarlsberg
|
1000 g
|
10.45
|
2
|
Mascarpone
|
1000 g
|
32.56
|
3
|
Gorgonzola
|
1000 g
|
15.67
|
We use the following SELECT statement:
SELECT ProductName, ROUND(UnitPrice,0) as UnitPrice FROM
Products
|
ProductName
|
UnitPrice
|
Jarlsberg
|
10
|
Mascarpone
|
33
|
Gorgonzola
|
16
|
SQL LCASE() Function
The LCASE() Function
The LCASE() function converts the value of a field to lowercase.SQL LCASE() Syntax
SELECT LCASE(column_name) FROM table_name
|
Syntax for SQL Server
SELECT LOWER(column_name) FROM table_name
|
SQL LCASE() Example
We have the following "Persons" table:
P_Id
|
LastName
|
FirstName
|
Address
|
City
|
1
|
Hansen
|
Ola
|
Timoteivn 10
|
Sandnes
|
2
|
Svendson
|
Tove
|
Borgvn 23
|
Sandnes
|
3
|
Pettersen
|
Kari
|
Storgt 20
|
Stavanger
|
We use the following SELECT statement:
SELECT LCASE(LastName) as LastName,FirstName FROM Persons
|
LastName
|
FirstName
|
hansen
|
Ola
|
svendson
|
Tove
|
pettersen
|
Kari
|
SQL UCASE() Function
The UCASE() Function
The UCASE() function converts the value of a field to uppercase.SQL UCASE() Syntax
SELECT UCASE(column_name) FROM table_name
|
Syntax for SQL Server
SELECT UPPER(column_name) FROM table_name
|
SQL UCASE() Example
We have the following "Persons" table:
P_Id
|
LastName
|
FirstName
|
Address
|
City
|
1
|
Hansen
|
Ola
|
Timoteivn 10
|
Sandnes
|
2
|
Svendson
|
Tove
|
Borgvn 23
|
Sandnes
|
3
|
Pettersen
|
Kari
|
Storgt 20
|
Stavanger
|
We use the following SELECT statement:
SELECT UCASE(LastName) as LastName,FirstName FROM Persons
|
LastName
|
FirstName
|
HANSEN
|
Ola
|
SVENDSON
|
Tove
|
PETTERSEN
|
Kari
|