Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: What is similar in mssql to $dbh->listfields($tbl) in mysql

by VSarkiss (Monsignor)
on Oct 24, 2006 at 15:19 UTC ( #580296=note: print w/replies, xml ) Need Help??


in reply to Re: What is similar in mssql to $dbh->listfields($tbl) in mysql
in thread What is similar in mssql to $dbh->listfields($tbl) in mysql

As a third alternative, you can also short-circuit the first query:

select name from syscolumns where id = object_id(?)
The parameter is the string name of the object, as in the longer query. Also, note that the object_id function has some shortcomings, but for the majority of situations the above will work just fine.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://580296]
help
Chatterbox?
[LanX]: Thx found a solution! :)
[Eily]: I wrote "your" instead of "you're" :'(
[Eily]: I guess it means that my English is good enough that I make the same mistakes as native speakers though :/
[LanX]: your native tounge is French .... or Quebequois?
[erix]: never mind the natives
[Eily]: French, why?
LanX ' solution
[LanX]: lately you were talking about kids confused with "la liason"
[LanX]: I stopped worrying about my pronounciation and orthography "problems" in English
[Eily]: ah yes, you asked about the value of neuros :)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-03-27 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.