Viewing 15 posts - 7,921 through 7,935 (of 13,469 total)
wow this script has come a long way since the original version; thanks again to everyone who has contributed;
I cleaned up the formatting a little bit and added some comments,...
March 17, 2011 at 9:17 am
there is an additional caveat with that; when the driver scans the source for the rules on IMEX=1, it looks at the first 8 rows to decide the data size...so...
March 17, 2011 at 8:37 am
i believe this is a well known issue i'd seen with importing/exporting to excel or text files via the jet data providers. To overcome, you have to set the...
March 17, 2011 at 6:03 am
do you have a userId/name that is inherited fromt eh page you can use as a parameter? then you can order the data:
ORDER BY
CASE
WHEN SomeTable.AnalystID =...
March 16, 2011 at 3:02 pm
i think the domain account needs to have launched excel at least once manually on the server itself, right?
the first time excel launches for a user, if there are not...
March 16, 2011 at 2:18 pm
On a related note, I think this is how to check my current databases to see if any are owned by anyone other than sa, correct? so this doesn't occur...
March 16, 2011 at 1:59 pm
i have this saved in my snippets on how to map a drive from xp_cmdshell:
exec master.dbo.xp_cmshell 'NET USE G: \\UNCPath\d$ /user:domain\user password'
GO
RESTORE Database DBName FROM Disk = 'G:\PAth to bak'
GO
EXEC...
March 16, 2011 at 12:52 pm
Lynn on my roughly half a million row table i created with the data below, i get roughly double the performance with ITV vs scalar;16 seconds vs 9 seconds.
from...
March 16, 2011 at 12:05 pm
my crappy pseudo code construction was off for the case statement Sean; i meant show what this example does: chop up a single field into 3 seperate fields wit the...
March 16, 2011 at 9:45 am
is there an index on the [qm_entry_dt] column on table [tblQuoteMain]?
March 16, 2011 at 9:34 am
my knee jerk reaction is to use a table value function to get whatever data you need;
for now lets see if a slightly different scalar function will work.
first thing i'd...
March 16, 2011 at 9:25 am
well lets start with the basics; are you sure you are connecting at all? can you select @@version from vb?
could you be connecting to MASTER, adn thinking you'll see tables...
March 16, 2011 at 9:13 am
Lynn Pettis (3/16/2011)
What you need is a delimited string parse function. Do a search...
March 16, 2011 at 7:54 am
great question.
this book references says that some additional logging information is stored inside the page, and as a result, that makes the max size 8060:
March 15, 2011 at 7:30 pm
i just tried to run the code in a database that is set at compatibility level 80 and it fails with that syntax check; in 90 or 100 it goes...
March 15, 2011 at 6:58 pm
Viewing 15 posts - 7,921 through 7,935 (of 13,469 total)