Viewing 15 posts - 6,946 through 6,960 (of 13,460 total)
i just sat in on a SQLSaturday #79 in Davie(Fort Lauderdale) presentation on how to improve performance in exactly this situation;
the Presenter was Dimitri, and he had a great example...
Lowell
August 15, 2011 at 2:52 pm
much easier to comprehend...that whole pseudo code to abstract the logic actually made it harder to understand.
the rules you pasted are actually multiple separate and distinct check constraints....all of...
Lowell
August 15, 2011 at 12:24 pm
http://www.quest.com/litespeed-for-sql-server/
SQL LightSpeed is a third party applicaiton that creates backups for SQL server; it's faster than native backups and also compresses the backups to a smaller size.
you'd have to have...
Lowell
August 15, 2011 at 10:42 am
zozilany (8/15/2011)
Lowell
August 15, 2011 at 8:12 am
Sachin Nandanwar (8/14/2011)
Just because you define it as a "Best Practice" and it gives me an overhead in maintenance then surely I am better off in not using those "Best...
Lowell
August 14, 2011 at 7:56 am
don't you have to explicitly state you are inserting nvarchar? otherwise there is an implicit conversion wich is incserting the question marks
INSERT INTO tblDSV_AttributeChangeDetectionData VALUES (100700,'914225891','JOR','Historical Monument',1,34,N'??????');
Lowell
August 12, 2011 at 12:34 pm
this may help a little;
this gets all the directories in a given directory.
from there, you can cursor thru to build what i had hard coded to 4 specific directories:
--some variables
declare...
Lowell
August 12, 2011 at 9:09 am
ok here's a full emaaple then, all in TSQL:
this is getting every *.txt file in four different folders, and inserting them all into the same table.
my table "BULKACT" would be...
Lowell
August 12, 2011 at 8:48 am
would the table already exist that you want to import into?
would all the csv files be the same format?
if the above two things are true, you could use xp_cmdshell to...
Lowell
August 12, 2011 at 8:34 am
--if you are going to put this in MASTER, and want it to be able to query
--each database's sys.columns, you MUST mark it as a system procedure:
--EXECUTE sp_ms_marksystemobject 'sp_UglySearch'
Lowell
August 12, 2011 at 8:23 am
Sean's so right on this...this is not a production tool.
if you have a MillionBillionRow table, and it has 15 varchar columns...it's going to tablescan that table 15 times.
this is...
Lowell
August 12, 2011 at 8:17 am
sp_msForEachDB ' SELECT ''?'' AS DBName, name As UserName from ?.sys.database_principals'
Lowell
August 12, 2011 at 7:33 am
here's the BOl article about it:
http://msdn.microsoft.com/en-us/library/ms142491.aspx
the xml example that we talked about would look like this, i think:
<expansion>
<!--first word is our keyword, all the others are...
Lowell
August 12, 2011 at 6:20 am
BinaryDigit (8/12/2011)
I have the full word 'Jenny' in the table will adding to the thesaurus be able to make me search for 'jen' and get 'Jenny'?
yes exactly. in your example,...
Lowell
August 12, 2011 at 6:07 am
anything not in the stop list is searchable...but you might want to look at the thesaurus, where you can add cross references for words that don't exist in your data.
a...
Lowell
August 12, 2011 at 5:43 am
Viewing 15 posts - 6,946 through 6,960 (of 13,460 total)