Viewing 15 posts - 6,991 through 7,005 (of 13,469 total)
my bcp OUt exampel shows the delimiter between dbl quotes, and not the sole char after the -t.
try that...
also check your row terminator; if it's not CrLf, you might need...
August 8, 2011 at 12:02 pm
interesting...
it looks to me that SQL 2008 has the REPLACE function overloaded now...pass it CHAR...it returns CHAR. pass it VARCHAR, it returns VARCHAR.
maybe SQL 2005 didn't have the same overloaded...
August 8, 2011 at 9:54 am
Welcome aboard Jimmy;
A few questions:
Instance1 and Instance2 are seperate servers, right, and not databases?
so the commands are really referencing ServerInstance1.LiveDatabase.dbo.Table1 and you want to migrate some data to OtherServerInstance.TestDatabase.dbo.Table1?
Or are...
August 8, 2011 at 9:25 am
Windows Task Scheduler.
you can set a job to repeat on a schedule, but more importantly, you can decide what user context to run the command as much easier.
August 8, 2011 at 9:11 am
Marcus has hit the core issue, i think: it's all about permissions, and the service running the SLq Service account doesn't have what is required.
the fastest, easiest fix is...
don't run...
August 8, 2011 at 5:51 am
unless your procedure is specifically updating a datetime column, or you have a ROWVERSION datatype as one of the columns in the table, it is not possible to determine the...
August 8, 2011 at 5:43 am
i think you will also need to explicitly cast to a decimal; where are you getting the verison info from? how are you building the variable for the server version?
...
August 8, 2011 at 5:41 am
an new instance is a complete installation, so you would have to run or re-run the MSI and explicitly give the name of the new instance...\SQL2005 or \SQLEXPRESS are commone...
August 8, 2011 at 5:27 am
Oracle SQL Developer is a free download straight from the oracle web site.....but i think they require you to register:
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
August 8, 2011 at 5:24 am
i think the Op is doing two or more things ...not real sure now after rereading...
IF EXISTS(...)
BEGIN
PRINT 'do something conditionally'
PRINT...
August 5, 2011 at 2:34 pm
lallu_jaya (8/5/2011)
It updated the...
August 5, 2011 at 2:24 pm
lallu_jaya (8/5/2011)
August 5, 2011 at 2:12 pm
soemthing like this?
If EXISTS(select [group] from dbo.group_data WHERE [group]<> 2)
BEGIN
EXEC MyProcedure @param
--email that the proc was run?
END
August 5, 2011 at 1:41 pm
AFAIK, the C2 trace should already have the STOP on error flag in place,
at least when i read this:
http://technet.microsoft.com/en-us/library/cc293615.aspx
it's a requirement of that type of audt.
double check with the SQL...
August 5, 2011 at 12:59 pm
it has to do with one of the parameters in the trace creation:
http://msdn.microsoft.com/en-us/library/ms190362.aspx
if you have a trace like this, where @options = 2:
you need @options = 6 to enable stop...
August 5, 2011 at 12:38 pm
Viewing 15 posts - 6,991 through 7,005 (of 13,469 total)