Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Change colum name
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Change colum name
#11839
Change colum name 13 Years, 4 Months ago Karma: 0
Hi, how can I change the Colum’s names?
I have this:
SELECT
cf_id,date_1,text_2,text_4,text_5,check0,text_8
FROM
jos_chronoforms_komplexform

and the colum’s names that I see are date_1,text_2,text_4,text_...etc. I would like to change the names to Date, Name, last Name ……etc.
any suggestions?
thanks
The administrator has disabled public write access.
 
#11840
Re:Change colum name 13 Years, 4 Months ago Karma: 748
Hello,

You can define aliases for columns in SQL query, it will look like:

Code:


SELECT
cf_id AS ID,date_1 AS Date,text_2 AS LastNam,text_4,text_5,check0,text_8
FROM
jos_chronoforms_komplexform



Or use "Columns settings -> Columns settings" parameter that define aliases for columns, see screenshot below for more details:



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1