locked
Can we set query result output in T-SQL code? RRS feed

  • Question

  • Hi everybody,

    This is someone's question in another forum, which somehow got my interest. Is there a way to set output to grid/text, etc. using T-SQL rather than Query menu?
    Premature optimization is the root of all evil in programming. (c) by Donald Knuth

    Naomi Nosonovsky, Sr. Programmer-Analyst

    My blog
    Monday, November 9, 2009 7:22 PM

Answers

All replies

  • Not that I'm aware of.

    But it's easier to do CTRL+T (Text) and CTRL+D (Grid) than to use the menu.


    --Brad (My Blog)
    • Marked as answer by Naomi N Monday, November 9, 2009 8:05 PM
    Monday, November 9, 2009 7:40 PM
  • There is no programatic method to change the way results are presented, that I am aware of.
    http://jahaines.blogspot.com/
    • Marked as answer by Naomi N Monday, November 9, 2009 8:05 PM
    Monday, November 9, 2009 7:41 PM