Viewing 15 posts - 466 through 480 (of 670 total)
removed to avoid confusion
August 25, 2010 at 6:36 am
Jeff Moden (8/24/2010)
Mike01 (8/13/2010)
How about using a CTE?Mike... 2k forum. 🙂
Sorry about that. Didn't realize 🙁
August 25, 2010 at 5:57 am
Are the results hardcoded like that for specific CustomerCodes? I put my Customer data in a table with start and end dates. The code you specified is updating...
August 24, 2010 at 10:33 am
If you run this code manually, does it do what you expect it to do?
exec ril_actuals_exceeding_budget_mail
if not, can you provide the code for that?
what shows up in RIL_Mail_Execution_report values...
August 24, 2010 at 9:27 am
When you loose network connectivity, you won't be able to get to the Oracle DB to update it. You won't be able to get anywhere on the network. ...
August 24, 2010 at 8:53 am
From the little sampling of data you provided, it looks like the script is doing exactly what you want it to do. The first Select..Into clause is using the...
August 24, 2010 at 8:45 am
As long as you have access to the other databases, you can run
SELECT distinct o.id, s.Name as 'Procedure_Schema', o.name AS 'Procedure_Name' ,
...
August 24, 2010 at 6:25 am
August 23, 2010 at 7:17 am
Try using sys.schemas
SELECT distinct o.id, s.Name as 'Procedure_Schema', o.name AS 'Procedure_Name' ,
ss.Name as 'Table_Name', oo.name AS 'Table_Name', d.depid
FROM sysdepends d
inner join sysobjects o
on...
August 23, 2010 at 7:02 am
You'll have to use dynamic SQL. You can read information_Schema.columns for the table_name to get the columns. Then you can dynamically build the select syntax. Be careful...
August 23, 2010 at 6:49 am
What are you trying to do? Your last OpenXML statement returns data. What are the expected results?
August 19, 2010 at 1:23 pm
It is running the procedure from start to end. The FMTOnly value is set to OFF by default. So your code will run from start to finish. ...
August 16, 2010 at 10:06 am
I agree with Eugene. If we can get a sense of the whole picture, we would have a better change of providing a more efficient set-based solution. What...
August 16, 2010 at 9:58 am
There's a couple of things wrong with this.
First is when setting the database name variable, it will error out if more than one is found.
Second, you...
August 13, 2010 at 10:02 am
Viewing 15 posts - 466 through 480 (of 670 total)