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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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, 8 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, 8 Months ago Karma: 760
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