Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 24
R
Stranger
Stranger
R Offline
Joined: Jun 2006
Posts: 24
Can someone give me a hint as to what the proper SQL query would be to export a "member list" to a text file. I basically want to dump the entire registration record to a file.


Regards,
Rich
Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Code
select USER_DISPLAY_NAME from ubbt_USERS
where USER_ID>=2 order by USER_DISPLAY_NAME

If you would only want the display names.


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i think he wants the entire record, not just the one field.

Code
SELECT *
FROM ubbt_USERS u, ubbt_USER_PROFILE up
WHERE u.USER_ID = up.USER_ID
ORDER BY u.USER_DISPLAY_NAME

would get USERS and USER_PROFILE tables, which could be MOST of what you want..

2c

Joined: Jun 2006
Posts: 24
R
Stranger
Stranger
R Offline
Joined: Jun 2006
Posts: 24
Sirdude,

You're assumption is correct. Thank you. I'll give this a try in the morning.


Regards,
Rich

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
4 members (Baldeagle, Ruben, ahmed047, 1 invisible), 807 guests, and 146 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)