Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Discussions
:
Copy Value to Other Field
Previous Thread
Next Thread
Print Thread
View Threaded
Jan 16, 2008, 1:02 PM
Eraser
Enthusiast
(619 posts)
Jan 16, 2008, 1:02 PM
Post #1 of 3
Views: 2229
Shortcut
Copy Value to Other Field
I have another Field in Category called C_Slug.
Any idea using a mysql command to copy the value of Name into C_Slug for each category listing?
(C_Slug field is empty)
~ ERASER
Free JavaScripts @ Insight Eye
Last
edited
by:
Eraser
: Jan 16, 2008, 1:03 PM
Jan 17, 2008, 3:06 AM
Andy
Veteran
/ Moderator
(18436 posts)
Jan 17, 2008, 3:06 AM
Post #2 of 3
Views: 2117
Shortcut
Re: [Eraser] Copy Value to Other Field
In reply to
Hi,
Not quite sure what your trying to do :/
If you have 2 fields in the "Category" table, and you want to copy from C_Slug => Testing (for example), you could use:
Code:
UPDATE glinks_Category SET C_Slug = Test;
(be sure to backup first though, in case it doesn't do what you want =))
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List
GLinks ULTRA Package
|
GLinks ULTRA Package PRO
Links SQL Plugins
|
Website Design and SEO
|
UltraNerds
|
ULTRAGLobals Plugin
|
Pre-Made Template Sets
|
FREE GLinks Plugins!
Last
edited
by:
Andy
: Jan 17, 2008, 12:25 PM
Jan 17, 2008, 11:35 AM
Wychwood
User
(182 posts)
Jan 17, 2008, 11:35 AM
Post #3 of 3
Views: 2113
Shortcut
Re: [Eraser] Copy Value to Other Field
In reply to
UPDATE glinks_Category SET Name = C_Slug
Last
edited
by:
Wychwood
: Jan 17, 2008, 11:36 AM
Previous Thread
Next Thread
Print Thread
View Threaded