func DemoSimpleTable(table msdb.SimpleTable){

	var rows int = table.GetRows()
	var cols int = table.GetCols()

	fmt.Println("Rows:",rows)
	fmt.Println("Cols:",cols)

	//print head

	//print data
	for table.Next(){
		for i := 0; i < cols; i++ {
			fmt.Printf("%s\t",table.GetString(i))
		}
		fmt.Println()
	}
}
// DemoSimpleTable
// demo SimpleTable api
DemoSimpleTable
demo SimpleTable api
// DemoSimpleTable // demo SimpleTable api
func DemoSimpleTable(table msdb.SimpleTable){
	var rows int = table.GetRows()
	var cols int = table.GetCols()
	fmt.Println("Rows:",rows)
	fmt.Println("Cols:",cols)
	for table.Next(){
		for i := 0; i < cols; i++ {
			fmt.Printf("%s\t",table.GetString(i))
		}
		fmt.Println()
	}
}
func DemoSimpleTable ( table msdb . SimpleTable ) { var rows int = table . GetRows ( ) var cols int = table . GetCols ( ) fmt . Println ( " " , rows ) fmt . Println ( " " , cols ) for table . Next ( ) { for i := 0 ; i < cols ; i ++ { fmt . Printf ( " \t " , table . GetString ( i ) ) } fmt . Println ( ) } }
DemoSimpleTable
demo SimpleTable api
DemoSimpleTable demo SimpleTable api
//print head //print data