Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8352791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:04:20+00:00 2026-06-09T09:04:20+00:00

Kinda new to Database scripting, I want a script that will show me 10’s

  • 0

Kinda new to Database scripting,

  1. I want a script that will show me 10’s of columns from 10’s of columns.
  2. Script for changing values of 10’s columns from 10’s of columns.

I know I can use Select statement but is that best practice ?

Edit

I tired

Select

table1.column1,
table1.column2,
table2.column1
    ......
    table100.column100 FROM    table1,table2,.....table100;

but getting this error

Msg 208, Level 16, State 1, Line 1 Invalid object name ‘table1’.

Answer

Few table were deleted by mistake

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:04:23+00:00Added an answer on June 9, 2026 at 9:04 am
    1.Selecting 10's of columns from 10's of columns -- select * from tablename is good way.
    But this is not good when you consider the query for performance point of view.If your reuirement is to get all the columns of a table then you can use select * from tablename.
    
    2.This is quite obvious that you have to use all 10 columns if u have to change their values.
    UPDATE tablename SETcol1=value1,
           col1=value1,
           col1=value1,
           .....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to database design and I considering implementing something that will be time
i want to add two new attributes in my current database..when i update that
I am kinda new to database designing so i ask for some advices or
I'm kinda new to Flex. I have trying to send Hash from Ruby on
I currently have a script that takes 1,000 rows at a time from a
Kinda new to iOS, Im also studying Android. kinda confuse on arrays. How to
Im kinda new to drupal, and its views. SO can anybody tell me how
I'm kinda new to javascript running on Apache but I have the following problem.
I'm kinda new to Java, so haven't yet fully grasped the concept of multithreading.I
I am kinda new to this Regex thing. When analyzing some code I frequently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.