Home All Groups Group Topic Archive Search About


Author
18 Mar 2006 8:12 PM
farshad
Hi,
How is it possible to create a .fmt file with the following informations if
they are required?
server1
database1
table1

Thanks

Author
19 Mar 2006 6:54 AM
Uri Dimant
bcp pubs..authors2 in
c:\new_auth.dat -fc:\authors.fmt -Sservername -Usa -Ppassword
Read Using Format File article in the bol"farshad"
<fars***@discussions.microsoft.com> wrote in message
Show quoteHide quote
news:A9363EE5-807D-4BCB-9C2D-BC7ABCEDFB10@microsoft.com...
> Hi,
> How is it possible to create a .fmt file with the following informations
> if
> they are required?
> server1
> database1
> table1
>
> Thanks
Are all your drivers up to date? click for free checkup

Author
19 Mar 2006 7:46 AM
farshad
Hi,
Does this mean I have to have  a .dat file? How do I create it?
P.S. I run the bcp to insert using bulk insert.
Thanks

Show quoteHide quote
"Uri Dimant" wrote:

> bcp pubs..authors2 in
> c:\new_auth.dat -fc:\authors.fmt -Sservername -Usa -Ppassword
> Read Using Format File article in the bol"farshad"
> <fars***@discussions.microsoft.com> wrote in message
> news:A9363EE5-807D-4BCB-9C2D-BC7ABCEDFB10@microsoft.com...
> > Hi,
> > How is it possible to create a .fmt file with the following informations
> > if
> > they are required?
> > server1
> > database1
> > table1
> >
> > Thanks
>
>
>
Author
19 Mar 2006 9:55 AM
John Bell
Hi

On SQL 2000 BCP has a format option that will create a format for you, see
Books online for more.

John
Show quoteHide quote
"farshad" <fars***@discussions.microsoft.com> wrote in message
news:31F50883-0BF3-49B9-BB17-A45EB192F489@microsoft.com...
> Hi,
> Does this mean I have to have  a .dat file? How do I create it?
> P.S. I run the bcp to insert using bulk insert.
> Thanks
>
> "Uri Dimant" wrote:
>
>> bcp pubs..authors2 in
>> c:\new_auth.dat -fc:\authors.fmt -Sservername -Usa -Ppassword
>> Read Using Format File article in the bol"farshad"
>> <fars***@discussions.microsoft.com> wrote in message
>> news:A9363EE5-807D-4BCB-9C2D-BC7ABCEDFB10@microsoft.com...
>> > Hi,
>> > How is it possible to create a .fmt file with the following
>> > informations
>> > if
>> > they are required?
>> > server1
>> > database1
>> > table1
>> >
>> > Thanks
>>
>>
>>
Author
19 Mar 2006 9:17 PM
farshad
I would have if I could find it in books online.
Thanks

Show quoteHide quote
"John Bell" wrote:

> Hi
>
> On SQL 2000 BCP has a format option that will create a format for you, see
> Books online for more.
>
> John
> "farshad" <fars***@discussions.microsoft.com> wrote in message
> news:31F50883-0BF3-49B9-BB17-A45EB192F489@microsoft.com...
> > Hi,
> > Does this mean I have to have  a .dat file? How do I create it?
> > P.S. I run the bcp to insert using bulk insert.
> > Thanks
> >
> > "Uri Dimant" wrote:
> >
> >> bcp pubs..authors2 in
> >> c:\new_auth.dat -fc:\authors.fmt -Sservername -Usa -Ppassword
> >> Read Using Format File article in the bol"farshad"
> >> <fars***@discussions.microsoft.com> wrote in message
> >> news:A9363EE5-807D-4BCB-9C2D-BC7ABCEDFB10@microsoft.com...
> >> > Hi,
> >> > How is it possible to create a .fmt file with the following
> >> > informations
> >> > if
> >> > they are required?
> >> > server1
> >> > database1
> >> > table1
> >> >
> >> > Thanks
> >>
> >>
> >>
>
>
>
Author
20 Mar 2006 9:20 AM
John Bell
Hi

Try the online copy:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/coprompt/cp_bcp_61et.asp

John

farshad wrote:
Show quoteHide quote
> I would have if I could find it in books online.
> Thanks
>
> "John Bell" wrote:
>
> > Hi
> >
> > On SQL 2000 BCP has a format option that will create a format for you, see
> > Books online for more.
> >
> > John
> > "farshad" <fars***@discussions.microsoft.com> wrote in message
> > news:31F50883-0BF3-49B9-BB17-A45EB192F489@microsoft.com...
> > > Hi,
> > > Does this mean I have to have  a .dat file? How do I create it?
> > > P.S. I run the bcp to insert using bulk insert.
> > > Thanks
> > >
> > > "Uri Dimant" wrote:
> > >
> > >> bcp pubs..authors2 in
> > >> c:\new_auth.dat -fc:\authors.fmt -Sservername -Usa -Ppassword
> > >> Read Using Format File article in the bol"farshad"
> > >> <fars***@discussions.microsoft.com> wrote in message
> > >> news:A9363EE5-807D-4BCB-9C2D-BC7ABCEDFB10@microsoft.com...
> > >> > Hi,
> > >> > How is it possible to create a .fmt file with the following
> > >> > informations
> > >> > if
> > >> > they are required?
> > >> > server1
> > >> > database1
> > >> > table1
> > >> >
> > >> > Thanks
> > >>
> > >>
> > >>
> >
> >
> >
Author
20 Mar 2006 10:16 AM
Steen Persson (DK)
farshad wrote:
> I would have if I could find it in books online.
> Thanks
>


What is it you can't find? Try to look for bcp in Books On Line. That
will give you a number of "hits" - and also about bcp.fmt.

Regards
Steen

Bookmark and Share