Search found 1 match

by leetee
03 Mar 2009 08:42
Forum: DOS Batch Forum
Topic: How to loop through the results from "show tables"
Replies: 2
Views: 5701

How to loop through the results from "show tables"

Hi, I am in the middle of writing a DOS batch file that will be used to loop through all tables in a database to truncate them. I have never used DOS before and have searched all over the internet but am struggling on how I would loop through the results from the "Show tables" results. I h...