Viewing 15 posts - 10,441 through 10,455 (of 13,461 total)
here's a do it yourself way.
it just a cursor that goes thru the results of a temp table populated by the procedure sp_msdependencies
maybe this will help:
SET NOCOUNT...
October 7, 2009 at 6:50 pm
it's getting truncated because there is ANOTHER setting to limit the results to 256 chars by fdefault:
go here and change the value to 8000:

October 6, 2009 at 11:48 am
when in gridview in SSMS (Control D) the CrLf appear to be supressed. but if you switch to text vie (Control T) and rerun your statement, the CrLf's will be...
October 6, 2009 at 11:12 am
for a scripted login, this will probably help.
the remote user and the remote password IS the Oracle username and password you want..SCOTT/Tiger in our previous examples:
--#################################################################################################
--Linked server Syntax for Oracle...
October 6, 2009 at 8:35 am
in (@statuslist))
i think that is your problem; that is the same as saying in 'A single string that happens to have a comma in it')
which is not what you were...
October 5, 2009 at 10:04 pm
ouch that sysindexes is handy and i haven't found any view that still tracks that [rows] and [rowmodctr] yet.
GilaMonster (10/5/2009)
October 5, 2009 at 11:59 am
could it be schema related, i mean that there are two schemas, say dbo. and bob. with both containing a view named "vw_bobtest
", and because the objects are not two...
October 5, 2009 at 11:18 am
the problem is SQL uses a hard 20% rule to determine if statistics are auto-updated or not;on a million row+ table, that's not often enough
here's a work in progress i...
October 5, 2009 at 11:02 am
a better example: in Oracle in whatever database, you might add a new user "SQLPassThru", and give that user access to 3 specific tables, and nothing else.
that Oracle user would...
October 3, 2009 at 7:01 pm
newbieuser (10/3/2009)
Is linked server, the only option to access Oracle database from SQL server stored Procedure? Is linked server, basically like a database object...
October 3, 2009 at 6:49 pm
pretty sure a db link is an Oracle-to-SQL server ODBC connection.(well to many other db systems, but say SQL for now)
a linked server is the equivalent: a SQL-to-Oracle ODBC Connection.(SQL...
October 3, 2009 at 3:42 pm
there's a great article here on SSC on creating a google like full text search[/url], which does everything you are asking and more; I'd suggest going that way first, as...
October 3, 2009 at 1:04 pm
i have this "SCRIPT ALL INDEXES with Include" saved in my snippets, and supposedly it will also do the INCLUDE syntax, if it was used. I haven't fully tested it...
October 1, 2009 at 11:44 am
interesting, what does this return:
SELECT substring(name,1,8)as name,id,xtype,uid,user_name(uid),suser_name(uid) FROM sysobjects WHERE [name] LIKE 'table%'
October 1, 2009 at 10:17 am
there might be an easier way, but this is what i've been using:
i've got one database with three schemas "dev", "qa" and "dbo"
using this gets me all the tables,procs, etc....
September 30, 2009 at 12:15 pm
Viewing 15 posts - 10,441 through 10,455 (of 13,461 total)