Stored Procedures Questions and Answers

Recent IT Questions

41 - 60 of 94

Create Stored Procedure based upon existing Stored Procedure

How do I create a Stored Procedure based upon an existing stored Procedure in SQL Query Analyzer V 8.00.760

asked by Trainingit

  20 pts.

Move data in SSIS via store procedure

How do I set up an SSIS pkg to move results from a stored procedure from an external ss2005 db to the local ss2005db?

View Answer   |  Sep 4 2008  10:14 PM GMT
Stored Procedures, SSIS, Import external data
asked by Dreadoux

  5 pts.

Cobol Stored Procedures

Can someone explain the flow of reentrant cobol stored procedures? Is it possible for two users to access and modify the same variable at the same time?

View Answer   |  Aug 28 2008  9:47 PM GMT
COBOL, Stored Procedures, Reentrant COBOL
asked by Everett

  5 pts.

SQL Server project in VB 2005

A form contain two text field (Name,Address) three buttons (Save,Modify,Delete). A test.mdf file in sql server. I want total source code of that sample project Pl help me about that. Thank you prit

View Answer   |  Aug 24 2008  5:05 AM GMT
Visual Basic, SQL Server, Stored Procedures
asked by PRITH

  5 pts.

Calling a SQL Server 05 Stored Procedure from Oracle

Is it possible to call a SQL Server 2005 stored procedure from Oracle? If the sp is called get_item_desc and has one input parameter (item_id), what might this call look like? Any help most appreciated!

Answer Question   |  Aug 19 2008  7:20 AM GMT
Oracle, Oracle stored procedures, Stored Procedures
asked by Nikkipom79

  5 pts.

SQL Server equivalent of Oracle's "when no data found" exception

In a stored procedure, I'm storing the result of a select statement in @variable. Is there a way to capture a SQL Code 100, like Oracle's SQLERRM(100)/ORA-01403 if no records are returned? I'm currently setting @variable = '*' before the select and and IF @variable = '*' afterwards, but there...

asked by CO Bill

  70 pts.

Executing System Stored Procedures

What kind of "Permissions" does a developer need in order to execute sp_fulltext_catalog, sp_fulltext_column, sp_fulltext_database, sp_fulltext_table, sp_addLinkedServer, sp_addLinkedSRVlogin ?

View Answer   |  Aug 13 2008  2:56 PM GMT
Developers, Stored Procedures, Permissions
asked by VelameLaCosa

  65 pts.

Calling an Oracle stored procedure from SQL Server

Is it possible to call an Oracle stored procedure from SQL Server?

View Answer   |  Aug 8 2008  3:59 PM GMT
Oracle, SQL Server, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Difference between Sp_msforeachdb and sp_msforeachtable

In MS SQL Server what is the difference between Sp_msforeachdb and sp_msforeachtable

View Answer   |  Aug 7 2008  7:00 AM GMT
SQL Server, Stored Procedures, SQL stored procedures
asked by Jaideepkhanduja

  6600 pts.

Catching blocks using a stored procedure in SQL

I have a stored procedure in SQL that I use to catch blocks. This stored procedure is executed by a stored procedure higher up. How do I relay the error info, if there is error info, to the parent? Do I need to use a return code or is the error info just passed back, no matter what?

View Answer   |  Aug 5 2008  3:16 PM GMT
SQL, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Viewing created stored procedures in SQL Server

How can I view stored procedures that have already been created in SQL Server?

View Answer   |  Aug 5 2008  3:13 PM GMT
Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Replicate Stored Procedures

Is anyone aware of a tool to automate the replication of the Strored Procedures from one iSeries to another?

View Answer   |  Jul 31 2008  12:50 AM GMT
iSeries, Stored Procedures
asked by Jma1800

  15 pts.

sp_OACreate is missing

Hi I'm trying to create a stored procedure to send mail, and 1 line in my SP states: EXEC @hr = sp_OACreate 'CDONTS.NewMail', @MailID OUT But I get an error that sp_OACreate is missing. How it happened I don't know. But how do I fix the problem? Is it possible to recreate sp_OACreate manually?...

View Answer   |  Jul 23 2008  11:24 AM GMT
Windows XP, SQL Server 2000, Stored Procedures
asked by Kowalski

  5 pts.

Running a stored procedure in SQL Query Analyzer or as part of a SQL job

I have been trying to run a stored procedure in SQL Query Analyzer and as a step in a SQL job. If I run it in Query Analyzer, it takes less than a minute, but it takes considerably longer if it is run as a step. I use SQL Server 2000. Why would there be so big a difference?

View Answer   |  Jul 11 2008  2:52 PM GMT
SQL Server 2000, Stored Procedures, SQL Query Analyzer
asked by SQL Server Ask the Experts

  2445 pts.

Internal vs Externa Stored Procedure Performance

Our company develops software for Windows using C# for connecting and updating the corporate database in DB2/400. We use both internal (SQL) and external (rpg) stored procedures. Because we have noticed some bad performance in our internal stored procedures, we have the following question: Is there...

asked by Baron400

  5 pts.

Slowdown of the SAN due to overusage of temporary tables

We make use of temporary tables when we develop stored procedures, but they also become very slow when there is a heavy workload. We have an ISCSI SAN running RAID 10, and our database, logs and tempdb (15 GB) are on the SAN. We think the SAN is overworked; the SQL Server shows no CPU. Should we...

View Answer   |  Jul 1 2008  8:23 PM GMT
SAN, iSCSI, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Exporting stored procedure results into an XML file in SQL Server

I need to export the result from a stored procedure into an XML file directly in SQL Server. How would I go about doing this?

View Answer   |  Jul 1 2008  3:25 PM GMT
XML, SQL Server, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Spawning additional stored procedures in SQL Server 2000

Is it possible in SQL Server 2000 for a stored procedure to spawn a second stored procedure which will not interfere or slow down the processing of the original? I need the original procedure to finish and return its output variables to the calling program before the second (whose function is to...

View Answer   |  Jun 27 2008  6:31 PM GMT
Auditing, SQL Server 2000, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

Ability to spawn (or fork) a sproc in SQL Server 2000

Is it possible in SQL Server 2000 for a sproc to call another sproc and then return it's output variables and close before (or while) the nested sproc processes? Goal is to nest a sproc that willl perform auditing on the called sproc without slowing it down waiting for the auditing.

View Answer   |  Jun 27 2008  5:32 PM GMT
SQL Server 2000, Stored Procedures
asked by CO Bill

  70 pts.

xp_fileexist workd in Query window but doesnt in stored procedure

Hello, I am running on SQL server on my local PC . I am singed onto the PC using a network user. This probelm happens if the SQL server service runs as either Local system or network service. In the server management studio if I go to a query window and enter Declare @result int exec xp_fileexist...

View Answer   |  Jun 26 2008  1:59 PM GMT
SQL Server, Stored Procedures, SQL error messages
asked by Kendo

  5 pts.

41 - 60 of 94