Viewing 15 posts - 3,361 through 3,375 (of 3,543 total)
Presume it must be a restriction and that sql cannot do implicit aggregate within an aggregate and therefore you will have to do it explicitly (or is that the other...
April 10, 2003 at 2:54 am
Thats great, it's what we're here for.
What I meant with my last post was to create a parameter to the proc not in, such as
Create Procedure spInsertNProject(
@requestorname varchar(50),
@requestorLoc varchar(50),
@dueDate datetime,
@projName...
April 7, 2003 at 2:26 am
Declare a new parameter in your proc
@projectType varchar(50)
and change the where to
WHERE a.projectType = @projectType
I have noticed that you have specified projectType in your list of 'project table' columns but...
April 4, 2003 at 9:03 am
What I outlined should work fo you. My tblProjectType would contain the project types, e.g.
1 New DB Creation
2 DB Amendment
...
and tblTypeTask would contain the relationships of projectTypes and Tasks, e.g.
1...
April 4, 2003 at 7:01 am
Or simply use Design Table option in EM and remove tick from identity.
April 4, 2003 at 1:47 am
or
ISNULL(REPLICATE('0',5-LEN(PALLET_NUMBER)),'')+PALLET_NUMBER
April 4, 2003 at 1:43 am
You have not specified the relationship between projectType and Task.
Assuming two new tables
tblProjectType:
typeID int primary key
projectType varchar(50)
tblTypeTask
typeID int
taskID int
Then change insert/select to
INSERT INTO tblProjectTasks (
Project_ID,
TaskID,
statusID
)
SELECT...
April 4, 2003 at 1:29 am
I think you have a logic problem, try
open pncursor1
fetch next from pncursor1 into @pname1
while (@@fetch_status = 0)
begin
print '...................p1'
open pncursor2
fetch next from pncursor2 into @pname2
while (@@fetch_status = 0)
begin
print 'p2'
fetch next from...
March 28, 2003 at 2:23 am
What order do you want for the selection and does the table have a PK or IDENTITY column?
e.g.
create table #t (IDno int identity(1,1),val int)
insert into #t values(34)
insert into #t values(67)
insert...
March 28, 2003 at 1:58 am
I have SQL7 SP4 on WIN2K and wanted to do external emails with attachments and due to our security policy and firewall restrictions I cound not use SMTP. Therefore I...
March 28, 2003 at 1:51 am
I have used this method before but could never get it to work with fields greater than 255 chars, even when following the documentation!
March 25, 2003 at 8:21 am
I run my DTS via SQL agent and use two scripts I found on this site (modified for my own use) to show failed and running jobs. I also log...
March 19, 2003 at 2:33 am
There are several threads on this site that refer to finding the version of MDAC installed. I use COMCHECK (downloadable from Microsoft).
Have you checked server to server connectivity?
Edited by -...
March 18, 2003 at 4:43 am
Viewing 15 posts - 3,361 through 3,375 (of 3,543 total)