Showing posts with label settings. Show all posts
Showing posts with label settings. Show all posts

Friday, March 23, 2012

-R option in BCP

Hi all,
I m trying to use BCP utility to upload a huge text file.
As per microsoft documentation, -R is used to specify the
regional settings. My computer (client) and the sql server
(running in a network machine) has dd/mm/yyyy as the
regional settings. The incomming text file also has date
in dd/mm/yyyy format. But when i execute BCP with -R
option, i still get an invalid date format error message.
I went through a few microsoft support information, that
told me that SP1 should solve this problem. I got SP3a
installed (both in client and in the server).
So what am i missing here? I m sure some of u here
should have also faced the problem. Any type of help is
greatly appreciated.
thanks and regards,
s.ravi sankarAlready answered in several other ng's.
--
Andrew J. Kelly
SQL Server MVP
"Ravi Sankar" <ravi_pv@.lycos.com> wrote in message
news:0aff01c3b026$b426bfb0$a101280a@.phx.gbl...
> Hi all,
> I m trying to use BCP utility to upload a huge text file.
> As per microsoft documentation, -R is used to specify the
> regional settings. My computer (client) and the sql server
> (running in a network machine) has dd/mm/yyyy as the
> regional settings. The incomming text file also has date
> in dd/mm/yyyy format. But when i execute BCP with -R
> option, i still get an invalid date format error message.
> I went through a few microsoft support information, that
> told me that SP1 should solve this problem. I got SP3a
> installed (both in client and in the server).
> So what am i missing here? I m sure some of u here
> should have also faced the problem. Any type of help is
> greatly appreciated.
> thanks and regards,
> s.ravi sankar
>

Wednesday, March 7, 2012

Quick method to move reports to production

Is there a quick method of moving multiple reports to production from
development while retaining the settings within the report manager?with RS2005, you can use the scripting capability of the management studio.
and there is this tool:
http://www.sqldbatips.com/showarticle.asp?ID=62
"Doris" <Doris@.discussions.microsoft.com> wrote in message
news:E690A5AA-F2F2-45DA-BA9A-E2B4C39D1DF5@.microsoft.com...
> Is there a quick method of moving multiple reports to production from
> development while retaining the settings within the report manager?

Monday, February 20, 2012

questions on SQL Profiler

I am using SQL Profiler to monitor one of my database.
The temporary trace file is stored under C:\Documents and Settings\user
\Local Settings\Temp
by default. Is it possible to re-configure it to place to another
location as the file become huge after some time.

ThanksOn Apr 17, 2:26 pm, "akkha1...@.gmail.com" <akkha1...@.gmail.comwrote:

Quote:

Originally Posted by

I am using SQL Profiler to monitor one of my database.
The temporary trace file is stored under C:\Documents and Settings\user
\Local Settings\Temp
by default. Is it possible to re-configure it to place to another
location as the file become huge after some time.
>
Thanks


Are you using SQL 2k or SQL 2k5? In SQL 2005, in the New Trace dialog,
there is a "save to file" option, where you can specify the drive to
log trace data to.

Alternatively, if you're doing the trace programmatically, you can set
a param to denote location to save trace to.

Chadd|||akkha1234@.gmail.com (akkha1234@.gmail.com) writes:

Quote:

Originally Posted by

I am using SQL Profiler to monitor one of my database.
The temporary trace file is stored under C:\Documents and Settings\user
\Local Settings\Temp
by default. Is it possible to re-configure it to place to another
location as the file become huge after some time.


You can change the TEMP and TMP environment variables in the System
applet in the Control Panel. (Under the Advanced tab.)

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx|||Changing the location of trace file does not serve the purposes.
Changing the TMP is the answer and you have to log off and then login
to make it to be effective for profiler.
Thanks for both of you anyway for the prompt response. Now I know a
bit more about the windows environment.