Viewing 15 posts - 5,266 through 5,280 (of 7,502 total)
As always when "big brothers" are watching ... shivers in the spine :Whistling:
I've also tested at 32-bit Dev Edtn SP2 CU5 on 2-way XP sp2.
Same issue. :crying:
February 1, 2008 at 7:22 am
You could off course include a
NET USE ... user:yyy pasword:yyy
don't forget to clean up after teh copy !
NET HELP USE provides more info
February 1, 2008 at 6:47 am
The tests I performed were using SSMS2005.
At the client I also did install sp2 + CU5 !
(client installs are forgotten for updates way to much)
February 1, 2008 at 6:31 am
I've tested your scripts at SQL2005 DE sp2 CU5
and SQL2000 PE SP4
with no problem at all.
these are results:
SQL2000 PE sp4
(1 row(s) affected)
col1 col2
-----------...
February 1, 2008 at 6:15 am
if you want to use xp_cmdshell, you'll have to open it at sqlserver instance level ! (which I do not advise !)
We use a SQLAgent job to perform the backups.
The...
February 1, 2008 at 5:19 am
Oh certainly a huge yes regarding SP-release :exclamationmark:
Why, because IMHO a SP is considered to be a stable release, tested well by the manufacturer. Certainly worth a general test and...
February 1, 2008 at 3:49 am
There are the resulte of the test I performed :
(sql2005 dev edtn SP2 CU5)
set nocount on
-- is "Ad Hoc Distributed Queries" enabled ? if not, enable it
declare @SQLConfigOption varchar(256)...
February 1, 2008 at 3:32 am
I'm very sorry to have to tell you that it fails with partitioned objects on SQL2005.
I've tested it on an x64 EE SP2 CU2 4-socket-dualcore 16Gb
I have added the...
February 1, 2008 at 2:08 am
Phil, Chris,
Indeed no discussion regarding the use of target variables.
The point is, will its content be correct during the setbased work
if the variable is used more then once in...
January 31, 2008 at 6:31 am
Very good article, nice testcode. :w00t::cool:
There may be some testing needed regarding parallelism,
maybe for now just add a OPTION(MAXDOP 1).
The only remarks I would add to the conclusion is...
January 31, 2008 at 3:59 am
Just replace the @var with the column name in the select clause.
I tend to test with @-variables so there is no residue left behind afterwards.
Glad you figured it out 😉
January 30, 2008 at 11:57 pm
IMO Bulk Insert (check BOL) is what might serve you better.
e.g.
BULK INSERT mydb.myschema.myobject
from '\\UNC_path\myobjectdata.txt'
WITH
( FIELDTERMINATOR = ''
--,CODEPAGE =...
January 30, 2008 at 1:21 pm
So is this what you are looking for ?
declare @myfile varchar(256)
set @myfile='D:\MailRoomImporter\incoming_documents\releases\OC\11000248.pdf'
Select datalength(@myfile)
SELECT @myfile
, substring(@myfile, 40, datalength(@myfile)) as TheRest
, CHARINDEX('\',substring(@myfile, 40, datalength(@myfile)),1) as theslash
, substring( substring(@myfile, 40, datalength(@myfile)), 1,...
January 30, 2008 at 1:12 pm
You'll have to name those columns (in the exact sequence as needed for your target table) from the source table.
Using query analyser, in the object explorer, rightclick the source table,...
January 30, 2008 at 1:04 pm
thank you for the feedback (urls and demo script) 😎
January 29, 2008 at 1:48 am
Viewing 15 posts - 5,266 through 5,280 (of 7,502 total)