Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Vishal Pawar is workin in The Most Group as MSBI Solution Architech
Browse by Tags · View All
sql 103
Query 58
#BI 32
Link 31
SQL Server 31
BI 30
#SQL Server 28
SSIS 23
brh 21
SSMA 17

Archive · View All
August 2011 36
June 2011 25
July 2011 21
December 2011 17
October 2011 12
September 2011 11
April 2012 7
November 2011 7
March 2012 5
January 2012 5

Vishal Pawar's Blog

BISQL # 84 - How to select ALL tables or Select all Top rows in one script ? All data from all table !

Jan 10 2012 12:00AM by Vishal Pawar   

Hi friends

                          Due to transformation into new project I really not getting time ..(This is my best reason from  stepping backs from post writing Smile)..

Now lets see by changing some time parameter for blog posting how can achieve stability in it !!

So lets continue with today SQL Scripting post !!

Sometimes I thought when we are having fast analysis into project , for example consider following situation where we have very less time to analysis like …

1.IF I have analyze the Entire Database very fast !!

2.IF I have been migrated into another project which is in very critical phase.

3.I wan step back and see what is my data in all tables

In short I want to see all the data  from all table

In such case most of the time we tends to always write “Select * from “ n and n number of times ..

So here is script which will reduce your time and ad give you select * from (for all table ).

Script

--Select ALL table from all column 
SELECT
    'Select * from ' + name
    FROM sys.sysobjects
    WHERE  xtype = 'U'
    order by name

Output

image

Following simple demonstration to select all

image

Now how to use this for top column

Just by playing with this query we can achieve lot more lot more useful script

--Select TOp 100 from ALL table from all rows  
SELECT
    'Select Top(100) * from ' + name
    FROM sys.sysobjects
    WHERE  xtype = 'U'
    order by name

Output

image

Or may be I can use this for all count

-- COUNT from ALL table from all rows  
SELECT
    'Select COUNT(1) from ' + name
    FROM sys.sysobjects
    WHERE  xtype = 'U'
    order by name

Output

image

Hope this Helps !!

Visit SQL tab for more SQL Script .

Thanks for visiting my blog !!

Tags: Query,SQL


Vishal Pawar
24 · 7% · 2229
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]