Viewing 15 posts - 4,576 through 4,590 (of 5,103 total)
SQL Server KEEPS versions of DTS packages
1. AFAIK version_number from sysjobs is incremented everytime it changes but the earlier version is not kept
* Noel
March 1, 2004 at 3:24 pm
sp_executesql CAN'T be used inside a UDF !
what are you trying to accomplish?
Save some joins
aren't you doing it inside the function
I believe you may...
* Noel
March 1, 2004 at 2:52 pm
Job scripts are maintained in msdb sysjobsteps table, if you have earlier backups of that then you can restore it but if you don't it is going to be difficult
* Noel
March 1, 2004 at 2:42 pm
Perfect,
Assuming that there are patients without Visitors all you need is to convert the one join to left outer and life will be good ![]()
* Noel
March 1, 2004 at 2:20 pm
SELECT
event.event_number
, event.dttm_rcd_added
, Patients.PatientName
, Visitors.VisitorName
, system_table_name
FROM
Event
JOIN
(SELECT event_id, Entity.first_name + ' ' + Entity.last_name AS PatientName
FROM Person_involved
JOIN
Entity
...
* Noel
March 1, 2004 at 1:53 pm
Ok I don't have Sample Data
Can you check if this is what you want:
SELECT
event.event_number
, event.dttm_rcd_added
, Patients.PatientName
, Visitors.VisitorName
...
* Noel
March 1, 2004 at 1:26 pm
Ok before I procced 3 more questions?
(sorry)
1.NONE of the _Id can be Null, right?
2. on your question you said that a visitor...
* Noel
March 1, 2004 at 11:43 am
It is a little hard to answer this one right without more knowledge of the queries that are going to be run against it but here is some food for...
* Noel
March 1, 2004 at 11:10 am
100% with Chris here
Don't permit access to SQL Server box directly !
And on the app side you can control how many attemps are permited after "n" failures and for...
* Noel
March 1, 2004 at 10:51 am
1. You have to make sure that DTC IS enabled for network access FIRST
2.are both boxes on same domain ?
* Noel
March 1, 2004 at 10:28 am
I am not very sure you need full outer join for your query ?
Can you post something about your tables DDL or relations?
* Noel
March 1, 2004 at 10:15 am
you could
1. wrap the scripts in stored procedures and call appropriately
2. use Tables to store intermediate results
* Noel
March 1, 2004 at 10:08 am
Viewing 15 posts - 4,576 through 4,590 (of 5,103 total)