Viewing 15 posts - 211 through 225 (of 484 total)
Certainly the exec option should only be used if necessary. Having the SQL "in-line" in the stored procedure enables it to be checked and precompiled and ready to run. Dynamic...
July 7, 2006 at 3:17 pm
Re: deleting duplicates. I mean to delete the duplicates from the temp table after the bulk insert, by performing the join.
DELETE #TempHolder From #TempHolder P INNER join MedicService20060601...
July 7, 2006 at 2:36 pm
I assumed I knew what would happen, but I thought I would test it anyway.
create table #a (fld1 int) --create table #b (fld1 varchar(50)) create table #did_it (fld1 varchar(50)) declare @sql nvarchar(50)
begin transaction
set...
July 7, 2006 at 2:25 pm
Change your char() to varchar(), or trim the variables. You are trying to concatenate 2 50 character fields into 1 50 character field. They do concatenate, but with 33 space...
July 7, 2006 at 1:59 pm
You will not be able to move the log files (or data files) to a network drive. SQL Server will not support either on network drives. Only backup files can...
July 7, 2006 at 1:51 pm
I believe this to be a limitation of debugger, not limitation of CLR. Only one debugger process can attach to a process. Peter: you almost right, each process won't interfere...
July 7, 2006 at 9:48 am
Not entirely. I assume you are talking about in stored procedure programming (or trigger, functions, etc) Depending on the error severity, most errors are actually "ignored", and you need to...
July 7, 2006 at 9:33 am
In Query Analyzer, Tools, Options, "Results" tab, check "Scroll results as received".
July 7, 2006 at 9:19 am
You might consider using 3rd party backup software like SQL LiteSpeed, that will compress the backup as it gets written. That gets you faster backup and smaller file, and you won't...
July 7, 2006 at 7:40 am
Client Access also has an OLEDB driver, you might try that one. It has been a little while since I used it, but I remember one was faster, but one...
July 7, 2006 at 7:35 am
You have a problem with the connection string ("Invalid connection string attribute"), and it is causing the connection to attempt a Windows Authenticated logon ("Not associated with a trusted SQL...
July 7, 2006 at 7:04 am
I'm sure the problem is not the Bulk Insert, but the Insert..Select/join statement. That statement is joining and inserting 15 million rows in a single transaction! I suggest that you...
July 7, 2006 at 6:57 am
Modify your format file so that the field delimiters includes the quote character, like "," instead of just ,
Hope this helps
July 7, 2006 at 6:32 am
This may help. I think I did something similar to what you are trying to do. I think you are just trying to return a table with an exploded listing...
July 7, 2006 at 6:28 am
First, the basics: The error is that you have exceeded the nested procedure call level of 32. You have reached 32 levels of recursion for calling GetReports.
I'm not sure what...
July 7, 2006 at 5:34 am
Viewing 15 posts - 211 through 225 (of 484 total)