Viewing 15 posts - 10,456 through 10,470 (of 13,469 total)
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
wow..i'm leaning towards the opposite of Paul above. I vote for validation in both tiers.
I think check constraints and defaults, FkKs have a minimal impact at the database level, and...
September 30, 2009 at 8:15 am
blawrence (9/30/2009)
All is perfection!
Thank you again and again, you have been an amazing help through this endeavor. You have been crystal clear in your explanations. Thank you again for...
September 30, 2009 at 8:00 am
I had also tripped over the same issue and if the following assumptions are true, this script might help:
the first column of the table is a sinlge column PK, identity...
September 30, 2009 at 5:37 am
as you get more familar with SQL, you'ss see that any column can bbe replaced with a hardcoded value, and vice vers in just about any SQL:
this is the enhanced...
September 29, 2009 at 2:05 pm
instead of using the column name [fphone], simply change it to the static value of '1':
MyLinkedServer.PhoneNumber2 = '1'
your code seems to be doing stuff differently....are you updating the Linkedserver...
September 29, 2009 at 10:58 am
AFAIK, you trace flag(s) will remain in place until you stop the service...when you stop and restart, only the flags that are part of the command line for starting the...
September 29, 2009 at 9:24 am
this one is specific to the data:
ISNULL(MyLinkedServer.Initial,'A') AS fmi,
your original data source has what i though is the middle initial of the name, right? (if that's wrong, let...
September 29, 2009 at 9:20 am
Viewing 15 posts - 10,456 through 10,470 (of 13,469 total)