A foreignkey in one table is used to connect with primarykey in another table
Author Archives: Admin
Primarykey in sql
* primarykey uniquely identifies each record in a database table.
* primarykey must contain unique values.
* primarykey column cannot contain null values.
* Each table should have a primarykey and each table have only one primary key.
SQL UNIQUE Constraint
* unique constraint uniquely identifies each record in a database table
*unique and primarykey gives a guarantee for uniqueness for cloumn or set of columns.
*primarykey automatically has a unique constraint on it
*we can have many unique per table
*we can have only one primarykey per table.
Storage Engines in mysql
Mysql support different type of storage engines that will support the table types,myIsam support transaction-safe table and nontransaction-safe tables.
Following are different storage engines
1.MyIsam
2.InnoDb
3.MERGE
4.MEMORY(HEAP)
5.BDB-BerkelyDB
6.EXAMPLE
7.Federated
8.ARCHIVE
9.CSV
10.BLACKHOLE
Promotion code in store front
PA admin can set the Promotion code through the following tab
Click on Billing ->Products->Marketting-> Add new promotion
Different type of accounts in PBA
# provider Account
# Reseller Account
# Customer Account
there are 2 type of customer account
1.Personal Account
2.Buisness Account
How to sync a domain manually?
this is available in 5.5 go to operations-task —select the particular task and make it run
‘oldsettings’ in aps package
Usually we will use the oldsettings_variablename in the case of updation
for example we need to update the password. In this case we will just compare settings variable value and old settings variable value.if these 2 are not matching then will do the updation
$oldpassword=getenv(‘OLDSETTINGS_password’);// will get the existing password
$newpassword=getenv(‘SETTINGS_password’);// will ge the new password entered.
Importance of ‘Published’ in the service plan
published checkbox is mandatory to check in the time of service plan creation otherwise it will not be available in the sales order creation step
in 5.5 we can see a separate tab for adding published as below
click on service plan->Publication settings->plan settings… here we can edit the ‘published’ check box.
How to display service plan in customer control panel?
while creating service plan select the option show in cp,add the plan and available resources to the resource category you created.