1
Well I come from Oracle culture and want to learn about SQL Server. I would like to know how I see the columns of a system view, for example: I tried with
sp_help teste.INFORMATION_SCHEMA.ROUTINES
and
desc teste.INFORMATION_SCHEMA.ROUTINES
to try to visualize the columns of this view that shows the routines of the test database but have not had any success, as I do the query of this meta data?
the command showing the settings is
sp_helptext
, tried with him?– Ricardo Pontual
Didn’t work either.
– Harry
I think @Ricardopunctual meant
sp_help <nome da tabela/view>
(I think in your casesp_help routines
). I know little of the Oracle, but it seems he treats the schemas slightly different from Sql Server. Ifteste
is the name of your schema, you can put it in front of the name so:sp_help teste.routines
.– Diego Rafael Souza
The
sp_helptext
would be to see the definition ofview
,store procedure
,trigger
...– Diego Rafael Souza