Viewing 15 posts - 151 through 165 (of 382 total)
create proc myproc
@MSBA_ID varchar(10),
@Phase_ID int = null,
@GSF int,
@Note varchar(100)
if exists (Select 1 from [dbo].[COST_Project_Phase]
where MSBA_ID = @MSBA_ID and Project_Phase_ID = @Phase_ID)
begin
insert into dbo.[COST_Project_Phase](
[MSBA_ID],
[Gross_Square_Footage] ,
[Phase_Note])
values (@MSBA_ID, @GSF,...
March 5, 2007 at 9:22 am
The transaction log (in full recovery mode, the default) records all of the changes to data. Products such as Lumigent log explorer will help you to read the log. There are...
March 3, 2007 at 6:11 am
My guess is that your problem is with the networking. When you run a DTS package from a client machine all of the data is pulled to that client machine...
February 28, 2007 at 12:44 pm
February 26, 2007 at 9:07 am
That shouldn't be too hard.
You need one SQL Server connection and two tasks: a dynamic properties task and an executesql task. Link the two with a workflow.
In the dynamic properties task, assign...
February 15, 2007 at 5:31 am
You could recast this as a group by query, with every field (except for ID) in the group by clause. You could then choose to get the Max(ID), Last(ID) (Access...
February 14, 2007 at 6:30 am
select lref . empname, total.total1
from emp inner join total
on emp.EmpNum = total.EmpNum
inner join Labor_Dept
on Labor_Dept.Lentry = total.lent1
where emp.lent2 <> total.lent1
February 13, 2007 at 12:59 pm
I think that your best bet is to use the linked table manager. Change the DSN in the ODBC administrator tool to point to the server and database. Then go...
February 13, 2007 at 12:28 pm
Can you give a sample of the data from each of the tables as well as a short narrative of what you want to see in output and what each...
February 13, 2007 at 11:54 am
Are you using an Access mdb? Does each person have their own Access mdb? Do you know how to use the immediate window?
February 13, 2007 at 11:47 am
First correct this section of code:
oStep.DisableStep = False
oStep.ExecutionStatus = DTSStepExecStat_Waiting
oStep.DisableStep = TRUE
Next, add an ActiveX task. That task will have these lines of code:
dim oStep
Set oStep = oPkg.Steps("DTSStep_DTSExecuteSQLTask_4")
oStep.DisableStep = TRUE
Next,...
February 13, 2007 at 8:59 am
I found that this code returns an error if run in the designer. You could put:
on error resume next ' This will cause errors to not fire.
February 13, 2007 at 6:50 am
I've never used the print statement and I couldn't get it to work.
Try this:
dim fso
dim txt
set fso = CreateObject("Scripting.FileSystemObject")
set txt = fso.GetStandardStream(1) ' Get the stdout
txt.WriteLine SelectStmt
February 13, 2007 at 6:37 am
Why do you need to disable it? Once the task runs once, it will not start running again, until you run:
oStep.ExecutionStatus = DTSStepExecStat_Waiting
Once it runs, it acts like it has...
February 12, 2007 at 3:41 pm
Viewing 15 posts - 151 through 165 (of 382 total)