Viewing 15 posts - 106 through 120 (of 125 total)
Hope this will also fit to the situation.
create table mytest (Custid integer, CustGrp integer)
go
insert into mytest(custgrp, custid)
select 100, 331
union
select 100,233
union
select 100,332
union
select 101,322
union
select 102,423
union
select 102,873
go
Select
A1.*,
cast(a1.custgrp...
August 4, 2004 at 6:03 am
Program - > Administrative Tools - > Computer Management -> Services and Applications - > Services
Search for MSSQL Server right click and start
Search for SQL Server Agent right click and start
August 3, 2004 at 3:47 am
Try this out......
INSERT LOGFILEHISTORY (FILE_NAME,SIZE_K,FULL_DATE,CHAR_DATE,CHAR_TIME) SELECT FNAME,LSIZE/1024,FILE_DATE,CRDATE,CRTIME FROM #LOGFILES AS a WHERE NOT EXIST ( SELECT 1 FROM LOGFILEHISTORY WHERE FILE_NAME = a.FNAME )
Thanks, Ganesh
July 29, 2004 at 11:49 pm
I have tried all these options but it is not consistent.
1. SQL Query Analyster - >Tools -> Connection Properties -> Unchecked the SET ANSI_WARNING
Right click on the tempdb and refresh
Execute the...
July 29, 2004 at 3:22 am
Can you pls check the web user is a part of MSDB database. And it's cumbersome to create a user in MSDB for each of the web user.
Since you call...
July 29, 2004 at 12:03 am
Say for example you are going to insert record to Table1 from Table2
Insert into Table1 (PrimaryColumn,Col2,Col3)
select * from Table2 as source2
where not Exists (select *
from Table1
where...
July 25, 2004 at 10:03 pm
1. i need to query which are the unique accounts between the two tables
select * from TableOne
union
select * from TableTwo
2. i need all of the accounts found in Table two...
July 21, 2004 at 1:20 am
There are no provision provided by the Designer to install or deploy the packages on another server. While running the following script make sure the .dts resides on the same...
July 18, 2004 at 9:57 pm
I would suggest let the stored procedure takes the database names as input parameter.
Sorry if my answer sounds silly.
Thanks,
Ganesh
July 15, 2004 at 10:30 pm
Hi Smith,
Firstly I don't know whether my answer would help you or not because these kind of weird errors would come possibly for the configuration reason.
Next I would like you to...
July 15, 2004 at 9:52 pm
One more way
DELETE
FROM #Tmp
WHERE Id IN
(
SELECT Id
FROM #Tmp
WHERE Id NOT IN
(
SELECT MAX(Cast(Id AS varchar(15)))
FROM #Tmp...
June 4, 2004 at 2:34 am
I have understood two things from your question.
1. Since the stored procedure takes much time, the user doesn't know at what particular point the procedure is currently moving on.
2....
June 4, 2004 at 2:24 am
Hi,
In order to pass the value to the query dynamically, you have to go for Global variable. Then your query would look like this
select dnrt_phone_numb,dnrt_agency,dnrt_in_date
from super_dba.dncrt
WHERE (DNRT_IS_DATE > ...
June 4, 2004 at 2:06 am
It's really great thought. But If I want to execute a stored procedure which returns more than one value which I need to call subsequently in my nested procedure. How...
October 7, 2003 at 12:47 am
Viewing 15 posts - 106 through 120 (of 125 total)