[NFBCS] SQL Server Management Studio and large amounts of data

Tracy Carcione carcione at access.net
Tue Nov 24 13:28:05 UTC 2020


Hi Michael.
I'm still pretty new to SQL, and subqueries are still hard for me.  But, in other languages, when I have a complicated set of statements, I put in comments to say what each subsection is doing.  Maybe other people have more elegant solutions, but comments always help me.
Tracy

-----Original Message-----
From: NFBCS [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Michael Walker via NFBCS
Sent: Monday, November 23, 2020 10:05 PM
To: NFB in Computer Science Mailing List
Cc: Michael Walker
Subject: Re: [NFBCS] SQL Server Management Studio and large amounts of data

Another question: how do you deal with sub queries? I am not talking about just one select statement within another, but suppose you have several levels of nesting deep, like a select within a select within a select. If you are a jaws user, how do you work with that, without getting confused? I have trouble, when the statements are several levels of nesting deep.

> On Nov 23, 2020, at 12:40 PM, Michael Walker <michael.walker199014 at gmail.com> wrote:
> 
> 
> That sounds nifty. I will have to try that, when I get back to work. I have been fighting with the grid a lot. Your method sounds a lot nicer to work with.
>  
> Sent from Mail for Windows 10
>  
> From: Tracy Carcione via NFBCS
> Sent: Monday, November 23, 2020 12:38 PM
> To: NFB in Computer Science Mailing List
> Cc: Tracy Carcione
> Subject: Re: [NFBCS] SQL Server Management Studio and large amounts of data
>  
> Hi Michael.
>  
> The command on my version of SQL Server Studio is control-shift-f.  It can also be found by hitting alt to brin up menus, right-arrow to Query, down-arrow to Results, enter to bring up the submenu, then arrow up and down to find the option wanted.
>  
> I use results to file for testing, then change it back to grid for the real run so I can save to Excel.  The output from the file option is a .txt file.
>  
> Tracy
>  
>  
>  
> From: NFBCS [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Michael Walker via NFBCS
> Sent: Monday, November 23, 2020 1:29 PM
> To: NFB in Computer Science Mailing List
> Cc: Michael Walker
> Subject: Re: [NFBCS] SQL Server Management Studio and large amounts of data
>  
>  
> Thank you, Tracy. How do you set SQL output to a file, in the method you are referring to?
>  
>  
> Also, being new to this mailing list, does the NFB in Computer Science ever host virtual events over Zoom? If so, when is the next one? What topics are discussed?
>  
>  
> Thank you,
>  
> Mike
>  
>  
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>  for Windows 10
>  
>  
> From: Tracy Carcione via NFBCS <mailto:nfbcs at nfbnet.org>
> Sent: Monday, November 23, 2020 6:54 AM
> To: NFB in Computer Science Mailing List <mailto:nfbcs at nfbnet.org>
> Cc: Tracy Carcione <mailto:carcione at access.net>
> Subject: Re: [NFBCS] SQL Server Management Studio and large amounts of data
>  
>  
> I usually know roughly what table I’m after, but I have paged down through long lists before, looking at what’s there.
>  
>  
> Also, SQL has a name sysobjects, and another syscolumns, and you can use those to write a query to see what’s around.  Don’t select all columns from all tables, though!
>  
>  
> I found this query to get some column names from a particular table, which perhaps you can modify:
>  
>  
>  
> Select a.name as table_name
>  
>  
> ,b.name as col_name
>  
>  
> From sysobjects a,
>  
>  
> Syscolumns b
>  
>  
> Where a.ID = b.ID
>  
>  
> And b.name like ‘%depar%’
>  
>  
>  
> I like to set SQL output to a file when I’m testing or looking at something.  For me, it’s much easier to look at a file than to try to look at the grid in SQL.
>  
>  
> HTH.
>  
>  
> Tracy
>  
>  
>  
>  
>  
> From: NFBCS [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Walker, Michael E. (UMSL-Student) via NFBCS
>  
> Sent: Monday, November 23, 2020 2:16 AM
>  
> To: NFBCS at nfbnet.org
>  
> Cc: Walker, Michael E. (UMSL-Student)
>  
> Subject: [NFBCS] SQL Server Management Studio and large amounts of data
>  
>  
>  
> Hi,
>  
>  
>  
> If you are using a screen reader, how do you most efficiently navigate large amounts of data? Suppose your database has over six hundred tables. One cannot use first letter navigation easily, since many table names begin with DBO. I might be browsing through the long list of tables, to get an idea of what the table name is, to write a query.
>  
>  
>  
> Thank you,
>  
>  
> Mike
>  
>  
>  
> _______________________________________________
>  
> NFBCS mailing list
>  
> NFBCS at nfbnet.org
>  
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>  
> To unsubscribe, change your list options or get your account info for NFBCS:
>  
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/michael.walker199014%40gmail.com
>  
>  
> _______________________________________________
> NFBCS mailing list
> NFBCS at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for NFBCS:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/michael.walker199014%40gmail.com
>  
_______________________________________________
NFBCS mailing list
NFBCS at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for NFBCS:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/carcione%40access.net




More information about the NFBCS mailing list