Jump to content

Microsoft SQL server database question


Rabbo

Recommended Posts

i am using this database for the first time for testing of data in tables.

Na doubt left lo unna multiple tables  ni , query window lo one time lo ela drag cheyochu ?

i have 300 table names list and i might have to do it in future , so manual ga select cheyadamu not an option 

Link to comment
Share on other sites

5 minutes ago, Rabbo said:

i am using this database for the first time for testing of data in tables.

Na doubt left lo unna multiple tables  ni , query window lo one time lo ela drag cheyochu ?

i have 300 table names list and i might have to do it in future , so manual ga select cheyadamu not an option 

Why do you need to drag? what you want to do?

Otherwise, use system tables to generate query similar to below.

SELECT 'SELECT ['+ name + '_RowCount] = COUNT(*) FROM [' + OBJECT_SCHEMA_NAME(object_id) + '].[' + name + ']'
FROM sys.tables 
ORDER BY name

 

 

Link to comment
Share on other sites

14 minutes ago, Rabbo said:

i am using this database for the first time for testing of data in tables.

Na doubt left lo unna multiple tables  ni , query window lo one time lo ela drag cheyochu ?

i have 300 table names list and i might have to do it in future , so manual ga select cheyadamu not an option 

intake emi cheyyali bhayya nuvvu? 300 tables ni drag cheyyadam deniki ? Management Studio lo  'New View' create cheste tables add chese option lo vastadhi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...