LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2013, 01:29 AM   #1
RaspPi
LQ Newbie
 
Registered: Oct 2013
Location: Ottawa, IL
Distribution: Wheezy (Debian)
Posts: 7
Blog Entries: 1

Rep: Reputation: Disabled
Question FreeTDS - number of columns and rows


Ok, here's my question for today.

I am using FreeTDS to issue sql commands on a MS SQL Server database. Sometimes I'm running stored procedures..where the output number of column count varies. Is there a call I can make to figure out how many columns were returned?
Similar, I would like to know how many rows were returned before I start looping through them.
 
Old 10-18-2013, 05:56 PM   #2
rigor
Member
 
Registered: Sep 2011
Posts: 212

Rep: Reputation: Disabled
Have you consulted the Free TDS Web Site, and the Documentation?


Free TDS Web Site

Free TDS User Guide

]Free TDS API Primary Functions
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Creating columns from every 4 rows kbensch Linux - General 7 05-19-2012 12:35 PM
[SOLVED] how to get number of rows and columns support in screen in linux somlinux Programming 7 07-19-2011 12:20 AM
Formatting rows and columns kdelover Programming 4 08-31-2010 03:56 AM
columns & rows Ammad Linux - General 1 08-08-2005 05:02 AM
rows and columns digitalgravy Linux - General 2 03-16-2004 07:47 PM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration