Viewing 15 posts - 3,301 through 3,315 (of 4,745 total)
Also, in adding file you have added a database file, you should have coded
Alter Database mydb
add LOG file
(input parms)
when you get your database back remove this erroneous file
by
dbcc shrinkfile(mydb_log_1,emptyfile)
then actually...
---------------------------------------------------------------------
October 14, 2009 at 12:26 pm
You can have more than one log file though unless you really do not have the drive space to accommodate the log there is no advantage to having more than...
---------------------------------------------------------------------
October 14, 2009 at 12:16 pm
have to agree with jg, this is not a good file to use with bcp. format file may be the way to go, worth trying. Outside of a format file...
---------------------------------------------------------------------
October 14, 2009 at 8:50 am
...or comma as the field delimiter but that means the ¬ will appear in the columns which will cause problems for the int data types. you need to strip out...
---------------------------------------------------------------------
October 13, 2009 at 11:06 am
Michael Valentine Jones (10/13/2009)
---------------------------------------------------------------------
October 13, 2009 at 9:08 am
you would have to refer back to the prod server, so a linked server would be required.
Presuming you know the full path to the backup file you could use this...
---------------------------------------------------------------------
October 13, 2009 at 7:29 am
If you attached the database it MUST have bought object level permissions across, and the use of sp_help_revlogin will have tied the users to the logins. Are you talking about...
---------------------------------------------------------------------
October 13, 2009 at 6:46 am
new line is the default for the row delimiter, so just remove the -r argument.
As you appear to have a header in the file, tell BCP to start loading from...
---------------------------------------------------------------------
October 13, 2009 at 3:12 am
see url
http://technet.microsoft.com/en-us/library/ms170363(SQL.90).aspx
---------------------------------------------------------------------
October 11, 2009 at 2:42 pm
has anything else taken the single connection before the restore?. test by trying to connect via SQLcmd
---------------------------------------------------------------------
October 11, 2009 at 12:31 pm
don't see why you have specified the -q argument.
what are you trying to define for your row delimiter (-r)?
---------------------------------------------------------------------
October 11, 2009 at 11:56 am
MANU-296622 (10/9/2009)
Tiggers can be disabled in 2000.
makes 'em less bouncy 🙂
---------------------------------------------------------------------
October 10, 2009 at 1:34 pm
great, RS is a confusing litttle ******
---------------------------------------------------------------------
October 8, 2009 at 12:36 pm
Jake Shelton (10/8/2009)
Yes, at your suggestion I've taken the defaults for the Virtual Directory settings - have to say the process to get to them was a tad unintuitive...
---------------------------------------------------------------------
October 8, 2009 at 9:38 am
haven't heard so don't know if you need or want it but anyway here is a script of post upgrade tasks to perform on a database
---------------------------------------------------------------------
October 8, 2009 at 9:23 am
Viewing 15 posts - 3,301 through 3,315 (of 4,745 total)