473,405 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

problem o fc# accessing stored procedure at sql server 2k

i have a stored procedure at sql server 2k. which will update records and
select result from temp table.

if i use SqlConnection class, and i do both. but, if i use OleDbConnection
class, i can have only records updated, but no result come out.

how can i debug, and what's the error?

thanks!

Nov 15 '05 #1
4 1858
it's my program.

really strange!!

Ole -> 0

Sql -> 1

Do I need to set something else?

thanks!

private void button1_Click(object sender, System.EventArgs e)

{

try

{

//string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Use Procedure for Prepare=1;Auto Translate=True;Packet
Size=4096;Workstation ID=MULLIN-YU;Use Encryption for Data=False;Tag with
column collation when possible=False;database=CCBSAPP";

string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;database=CCBSAPP";

OleDbConnection conn = new OleDbConnection(dbstring);
OleDbCommand oleCommand = new OleDbCommand();

oleCommand.CommandText = "GetJobItems";

oleCommand.CommandType = CommandType.StoredProcedure;

oleCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

OleDbDataAdapter oleDataAdapter = new OleDbDataAdapter(oleCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

OleDbParameter paramMachine = new OleDbParameter("@Machine",
OleDbType.VarChar, 20, ParameterDirection.Input, false, 0, 0,
"MachineLocked", DataRowVersion.Current, valMachine);

OleDbParameter paramOutboundType = new OleDbParameter("@OutboundType",
OleDbType.Integer, 4, ParameterDirection.Input, false, 0, 0, "OutboundType",
DataRowVersion.Current, valOutboundType);

oleCommand.Parameters.Add(paramMachine);

oleCommand.Parameters.Add(paramOutboundType);
oleDataAdapter.Fill(results);

MessageBox.Show("count: " + results.Rows.Count);
}

catch(OleDbException oleex)

{

Console.WriteLine(oleex.Message);

}

catch(Exception ex)

{

throw ex;

}

}

private void button2_Click(object sender, System.EventArgs e)

{

string dbstring = "User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;Workstation
ID=MULLIN-YU;database=CCBSAPP";

SqlConnection conn = new SqlConnection(dbstring);

SqlCommand sqlCommand = new SqlCommand();

sqlCommand.CommandText = "GetJobItems";

sqlCommand.CommandType = CommandType.StoredProcedure;

sqlCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(sqlCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

SqlParameter paramMachine = new SqlParameter("@Machine", SqlDbType.VarChar,
20, ParameterDirection.Input, false, 0, 0, "MachineLocked",
DataRowVersion.Current, valMachine);

SqlParameter paramOutboundType = new SqlParameter("@OutboundType",
SqlDbType.Int, 4, ParameterDirection.Input, false, 0, 0, "OutboundType",
DataRowVersion.Current, valOutboundType);

sqlCommand.Parameters.Add(paramMachine);

sqlCommand.Parameters.Add(paramOutboundType);
//sqlCommand.Connection.Open();

sqlDataAdapter.Fill(results);

conn.Close();

conn.Dispose();
MessageBox.Show("count: " + results.Rows.Count);

}

"Mullin Yu" <mu*******@ctil.com> wrote in message
news:uF**************@TK2MSFTNGP09.phx.gbl...
i have a stored procedure at sql server 2k. which will update records and
select result from temp table.

if i use SqlConnection class, and i do both. but, if i use OleDbConnection
class, i can have only records updated, but no result come out.

how can i debug, and what's the error?

thanks!

Nov 15 '05 #2
It may be in your Stored Procedure code. Please note that I haven't tested
this theory , but just something to think about. Have you set Nocount on in
the SP. I don't know if it effects the SQLClient, but having the record
counts on in Classic ADO would cause problems in the resultsets returned. I
assume the OLEDB classes would probably have the same problems. Just a
thought.

HTH
Chris Torgerson
"Mullin Yu" <mu*******@ctil.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
it's my program.

really strange!!

Ole -> 0

Sql -> 1

Do I need to set something else?

thanks!

private void button1_Click(object sender, System.EventArgs e)

{

try

{

//string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Use Procedure for Prepare=1;Auto Translate=True;Packet
Size=4096;Workstation ID=MULLIN-YU;Use Encryption for Data=False;Tag with
column collation when possible=False;database=CCBSAPP";

string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;database=CCBSAPP";

OleDbConnection conn = new OleDbConnection(dbstring);
OleDbCommand oleCommand = new OleDbCommand();

oleCommand.CommandText = "GetJobItems";

oleCommand.CommandType = CommandType.StoredProcedure;

oleCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

OleDbDataAdapter oleDataAdapter = new OleDbDataAdapter(oleCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

OleDbParameter paramMachine = new OleDbParameter("@Machine",
OleDbType.VarChar, 20, ParameterDirection.Input, false, 0, 0,
"MachineLocked", DataRowVersion.Current, valMachine);

OleDbParameter paramOutboundType = new OleDbParameter("@OutboundType",
OleDbType.Integer, 4, ParameterDirection.Input, false, 0, 0, "OutboundType", DataRowVersion.Current, valOutboundType);

oleCommand.Parameters.Add(paramMachine);

oleCommand.Parameters.Add(paramOutboundType);
oleDataAdapter.Fill(results);

MessageBox.Show("count: " + results.Rows.Count);
}

catch(OleDbException oleex)

{

Console.WriteLine(oleex.Message);

}

catch(Exception ex)

{

throw ex;

}

}

private void button2_Click(object sender, System.EventArgs e)

{

string dbstring = "User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;Workstation
ID=MULLIN-YU;database=CCBSAPP";

SqlConnection conn = new SqlConnection(dbstring);

SqlCommand sqlCommand = new SqlCommand();

sqlCommand.CommandText = "GetJobItems";

sqlCommand.CommandType = CommandType.StoredProcedure;

sqlCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(sqlCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

SqlParameter paramMachine = new SqlParameter("@Machine", SqlDbType.VarChar, 20, ParameterDirection.Input, false, 0, 0, "MachineLocked",
DataRowVersion.Current, valMachine);

SqlParameter paramOutboundType = new SqlParameter("@OutboundType",
SqlDbType.Int, 4, ParameterDirection.Input, false, 0, 0, "OutboundType",
DataRowVersion.Current, valOutboundType);

sqlCommand.Parameters.Add(paramMachine);

sqlCommand.Parameters.Add(paramOutboundType);
//sqlCommand.Connection.Open();

sqlDataAdapter.Fill(results);

conn.Close();

conn.Dispose();
MessageBox.Show("count: " + results.Rows.Count);

}

"Mullin Yu" <mu*******@ctil.com> wrote in message
news:uF**************@TK2MSFTNGP09.phx.gbl...
i have a stored procedure at sql server 2k. which will update records and select result from temp table.

if i use SqlConnection class, and i do both. but, if i use OleDbConnection class, i can have only records updated, but no result come out.

how can i debug, and what's the error?

thanks!


Nov 15 '05 #3
I've set it, but still error.

I tested with a simple query at the sp like
select * from Table1. I got resultset from both OleDbConnection and
SqlConnection.

It means there's problem when running my sp with OleDbConnection.

Here's my sp:
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

ALTER PROC GetJobItems @Machine as varchar(20), @OutboundType as int as
declare @JobID as bigint
declare @JobItemID as bigint
BEGIN

-- Select one JobItem from OutboundQueue
select top 1 @JobID=JobID from OutboundQueueItem where isLocked = 0 and
AddToProcessing = 1 and OutboundType = @OutboundType order by SubmissionDate
asc

--
************************************************** ***********
-- select JobItems within that JobID just got
-- Using Cursor
-- ************************************************** ***********

-- Declare the variables to store the values returned by FETCH.
DECLARE @tmpJobItemID as bigint

-- Declare the variable to store the concat value
DECLARE @tmpString as varchar(200)

-- Initialize
SET @tmpString = ''

DECLARE SampleCrsr CURSOR FOR
SELECT JobItemID FROM OutboundQueueItem where JobID = @JobID and IsLocked
= 0 and AddToProcessing = 1 and OutboundType = @OutboundType
-- Create temp Table for storing JobItemIDs to be processed
CREATE TABLE #tmpJobItemID(tJobItemID bigint)

OPEN SampleCrsr

-- Perform the first fetch and store the values in variables.
-- Note: The variables are in the same order as the columns
-- in the SELECT statement.

FETCH NEXT FROM SampleCrsr INTO @tmpJobItemID

-- Check @@FETCH_STATUS to see if there are any more rows to fetch.
WHILE @@FETCH_STATUS = 0
BEGIN

--SET @tmpString = @tmpString + Convert(varchar, @tmpJobItemID) + ', '
INSERT INTO #tmpJobItemID (tJobItemID) Values (@tmpJobItemID)

-- Concatenate and display the current values in the variables.
--PRINT 'JobItemID: ' + Convert(varchar, @tmpJobItemID)

-- This is executed as long as the previous fetch succeeds.
FETCH NEXT FROM SampleCrsr INTO @tmpJobItemID
END

--PRINT 'tmpString: ' + @tmpString + '1'

CLOSE SampleCrsr
DEALLOCATE SampleCrsr

-- ************************************************** *************
-- End Of using cursor
-- ************************************************** *************

-- Lock the Job at OutboundQueue, and update the status to "Working"
-- update OutboundQueueItem set isLocked = 1, MachineLocked = 'Mullin-Yu',
Status = 2 where JobItemID = @JobItemID
update OutboundQueueItem set isLocked = 1, MachineLocked = @Machine,
Status = 2 where JobItemID in (select tJobItemID from #tmpJobItemID)

-- return recordset
-- select * from OutboundQueueItem where JobItemID =
@JobItemID
select * from OutboundQueueItem where JobItemID in (select tJobItemID from
#tmpJobItemID)

END


GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO


"Chris Torgerson" <ct********@nospam.mindspring.com> wrote in message
news:ez**************@tk2msftngp13.phx.gbl...
It may be in your Stored Procedure code. Please note that I haven't tested this theory , but just something to think about. Have you set Nocount on in the SP. I don't know if it effects the SQLClient, but having the record
counts on in Classic ADO would cause problems in the resultsets returned. I assume the OLEDB classes would probably have the same problems. Just a
thought.

HTH
Chris Torgerson
"Mullin Yu" <mu*******@ctil.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
it's my program.

really strange!!

Ole -> 0

Sql -> 1

Do I need to set something else?

thanks!

private void button1_Click(object sender, System.EventArgs e)

{

try

{

//string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=MULLIN-YU;Use Encryption for Data=False;Tag with column collation when possible=False;database=CCBSAPP";

string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;database=CCBSAPP";

OleDbConnection conn = new OleDbConnection(dbstring);
OleDbCommand oleCommand = new OleDbCommand();

oleCommand.CommandText = "GetJobItems";

oleCommand.CommandType = CommandType.StoredProcedure;

oleCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

OleDbDataAdapter oleDataAdapter = new OleDbDataAdapter(oleCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

OleDbParameter paramMachine = new OleDbParameter("@Machine",
OleDbType.VarChar, 20, ParameterDirection.Input, false, 0, 0,
"MachineLocked", DataRowVersion.Current, valMachine);

OleDbParameter paramOutboundType = new OleDbParameter("@OutboundType",
OleDbType.Integer, 4, ParameterDirection.Input, false, 0, 0,

"OutboundType",
DataRowVersion.Current, valOutboundType);

oleCommand.Parameters.Add(paramMachine);

oleCommand.Parameters.Add(paramOutboundType);
oleDataAdapter.Fill(results);

MessageBox.Show("count: " + results.Rows.Count);
}

catch(OleDbException oleex)

{

Console.WriteLine(oleex.Message);

}

catch(Exception ex)

{

throw ex;

}

}

private void button2_Click(object sender, System.EventArgs e)

{

string dbstring = "User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;Workstation
ID=MULLIN-YU;database=CCBSAPP";

SqlConnection conn = new SqlConnection(dbstring);

SqlCommand sqlCommand = new SqlCommand();

sqlCommand.CommandText = "GetJobItems";

sqlCommand.CommandType = CommandType.StoredProcedure;

sqlCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(sqlCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

SqlParameter paramMachine = new SqlParameter("@Machine",

SqlDbType.VarChar,
20, ParameterDirection.Input, false, 0, 0, "MachineLocked",
DataRowVersion.Current, valMachine);

SqlParameter paramOutboundType = new SqlParameter("@OutboundType",
SqlDbType.Int, 4, ParameterDirection.Input, false, 0, 0, "OutboundType",
DataRowVersion.Current, valOutboundType);

sqlCommand.Parameters.Add(paramMachine);

sqlCommand.Parameters.Add(paramOutboundType);
//sqlCommand.Connection.Open();

sqlDataAdapter.Fill(results);

conn.Close();

conn.Dispose();
MessageBox.Show("count: " + results.Rows.Count);

}

"Mullin Yu" <mu*******@ctil.com> wrote in message
news:uF**************@TK2MSFTNGP09.phx.gbl...
i have a stored procedure at sql server 2k. which will update records

and select result from temp table.

if i use SqlConnection class, and i do both. but, if i use OleDbConnection class, i can have only records updated, but no result come out.

how can i debug, and what's the error?

thanks!



Nov 15 '05 #4
Got it.

Should put set nocount on after first begin.

thanks!

mullin

"Mullin Yu" <mu*******@ctil.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I've set it, but still error.

I tested with a simple query at the sp like
select * from Table1. I got resultset from both OleDbConnection and
SqlConnection.

It means there's problem when running my sp with OleDbConnection.

Here's my sp:
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

ALTER PROC GetJobItems @Machine as varchar(20), @OutboundType as int as
declare @JobID as bigint
declare @JobItemID as bigint
BEGIN

-- Select one JobItem from OutboundQueue
select top 1 @JobID=JobID from OutboundQueueItem where isLocked = 0 and
AddToProcessing = 1 and OutboundType = @OutboundType order by SubmissionDate asc

--
************************************************** ***********
-- select JobItems within that JobID just got
-- Using Cursor
-- ************************************************** ***********

-- Declare the variables to store the values returned by FETCH.
DECLARE @tmpJobItemID as bigint

-- Declare the variable to store the concat value
DECLARE @tmpString as varchar(200)

-- Initialize
SET @tmpString = ''

DECLARE SampleCrsr CURSOR FOR
SELECT JobItemID FROM OutboundQueueItem where JobID = @JobID and IsLocked = 0 and AddToProcessing = 1 and OutboundType = @OutboundType
-- Create temp Table for storing JobItemIDs to be processed
CREATE TABLE #tmpJobItemID(tJobItemID bigint)

OPEN SampleCrsr

-- Perform the first fetch and store the values in variables.
-- Note: The variables are in the same order as the columns
-- in the SELECT statement.

FETCH NEXT FROM SampleCrsr INTO @tmpJobItemID

-- Check @@FETCH_STATUS to see if there are any more rows to fetch.
WHILE @@FETCH_STATUS = 0
BEGIN

--SET @tmpString = @tmpString + Convert(varchar, @tmpJobItemID) + ', ' INSERT INTO #tmpJobItemID (tJobItemID) Values (@tmpJobItemID)

-- Concatenate and display the current values in the variables.
--PRINT 'JobItemID: ' + Convert(varchar, @tmpJobItemID)

-- This is executed as long as the previous fetch succeeds.
FETCH NEXT FROM SampleCrsr INTO @tmpJobItemID
END

--PRINT 'tmpString: ' + @tmpString + '1'

CLOSE SampleCrsr
DEALLOCATE SampleCrsr

-- ************************************************** *************
-- End Of using cursor
-- ************************************************** *************

-- Lock the Job at OutboundQueue, and update the status to "Working"
-- update OutboundQueueItem set isLocked = 1, MachineLocked = 'Mullin-Yu', Status = 2 where JobItemID = @JobItemID
update OutboundQueueItem set isLocked = 1, MachineLocked = @Machine,
Status = 2 where JobItemID in (select tJobItemID from #tmpJobItemID)

-- return recordset
-- select * from OutboundQueueItem where JobItemID =
@JobItemID
select * from OutboundQueueItem where JobItemID in (select tJobItemID from #tmpJobItemID)

END


GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO


"Chris Torgerson" <ct********@nospam.mindspring.com> wrote in message
news:ez**************@tk2msftngp13.phx.gbl...
It may be in your Stored Procedure code. Please note that I haven't tested
this theory , but just something to think about. Have you set Nocount on in
the SP. I don't know if it effects the SQLClient, but having the record
counts on in Classic ADO would cause problems in the resultsets returned.
I
assume the OLEDB classes would probably have the same problems. Just a
thought.

HTH
Chris Torgerson
"Mullin Yu" <mu*******@ctil.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
it's my program.

really strange!!

Ole -> 0

Sql -> 1

Do I need to set something else?

thanks!

private void button1_Click(object sender, System.EventArgs e)

{

try

{

//string dbstring = "Provider=SQLOLEDB.1;User

ID=sa;Password=ccbswsd;Data Source=CCBS-EDMSDB4;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=MULLIN-YU;Use Encryption for Data=False;Tag with column collation when possible=False;database=CCBSAPP";

string dbstring = "Provider=SQLOLEDB.1;User ID=sa;Password=ccbswsd;Data Source=CCBS-EDMSDB4;Packet Size=4096;database=CCBSAPP";

OleDbConnection conn = new OleDbConnection(dbstring);
OleDbCommand oleCommand = new OleDbCommand();

oleCommand.CommandText = "GetJobItems";

oleCommand.CommandType = CommandType.StoredProcedure;

oleCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

OleDbDataAdapter oleDataAdapter = new OleDbDataAdapter(oleCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

OleDbParameter paramMachine = new OleDbParameter("@Machine",
OleDbType.VarChar, 20, ParameterDirection.Input, false, 0, 0,
"MachineLocked", DataRowVersion.Current, valMachine);

OleDbParameter paramOutboundType = new OleDbParameter("@OutboundType",
OleDbType.Integer, 4, ParameterDirection.Input, false, 0, 0,

"OutboundType",
DataRowVersion.Current, valOutboundType);

oleCommand.Parameters.Add(paramMachine);

oleCommand.Parameters.Add(paramOutboundType);
oleDataAdapter.Fill(results);

MessageBox.Show("count: " + results.Rows.Count);
}

catch(OleDbException oleex)

{

Console.WriteLine(oleex.Message);

}

catch(Exception ex)

{

throw ex;

}

}

private void button2_Click(object sender, System.EventArgs e)

{

string dbstring = "User ID=sa;Password=ccbswsd;Data
Source=CCBS-EDMSDB4;Packet Size=4096;Workstation
ID=MULLIN-YU;database=CCBSAPP";

SqlConnection conn = new SqlConnection(dbstring);

SqlCommand sqlCommand = new SqlCommand();

sqlCommand.CommandText = "GetJobItems";

sqlCommand.CommandType = CommandType.StoredProcedure;

sqlCommand.Connection = conn;

DataTable results = new DataTable("OutboundQueueItem");

SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(sqlCommand);
//string valMachine = "localhost";

//int valOutboundType = 2;

string valMachine = "aaa";

int valOutboundType = 2;

SqlParameter paramMachine = new SqlParameter("@Machine",

SqlDbType.VarChar,
20, ParameterDirection.Input, false, 0, 0, "MachineLocked",
DataRowVersion.Current, valMachine);

SqlParameter paramOutboundType = new SqlParameter("@OutboundType",
SqlDbType.Int, 4, ParameterDirection.Input, false, 0, 0, "OutboundType", DataRowVersion.Current, valOutboundType);

sqlCommand.Parameters.Add(paramMachine);

sqlCommand.Parameters.Add(paramOutboundType);
//sqlCommand.Connection.Open();

sqlDataAdapter.Fill(results);

conn.Close();

conn.Dispose();
MessageBox.Show("count: " + results.Rows.Count);

}

"Mullin Yu" <mu*******@ctil.com> wrote in message
news:uF**************@TK2MSFTNGP09.phx.gbl...
> i have a stored procedure at sql server 2k. which will update

records and
> select result from temp table.
>
> if i use SqlConnection class, and i do both. but, if i use

OleDbConnection
> class, i can have only records updated, but no result come out.
>
> how can i debug, and what's the error?
>
> thanks!
>
>
>



Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Yves Touze | last post by:
Hi All, I'm trying to migrate from SQL Server 7.0 to SQL Server 2000. I've got some ASP page which call VB components that retrieve shaped recordsets from SQL Server using the MSDATASHAPE...
1
by: crisp99 | last post by:
Hi, I have a SQL Stored Procedure : CREATE PROCEDURE spFilterOne @city varchar(25) AS SELECT * FROM tblCities WHERE tblCities.strCity = @city ORDER BY tblCities.strName
4
by: stjulian | last post by:
I have a stored procedure that is supposed to 1. Increment a counter in Table A via a transaction 2. Use this value as the primary key to add in an address to customers Table B (Referenced as a...
1
by: Terry | last post by:
Hello, Has anyone experienced the following problem following an Upsize from Access 97 to SQL 2000 using the MS Upsize Wizard? Or can anyone see what the problem might be. Before Upsize...
8
by: Christopher Weaver | last post by:
I'm having trouble accessing the value of an output parameter of a stored procedure. The SP looks like this: SET TERM ^ ; CREATE PROCEDURE SP_NEW_TASK RETURNS ( "uidTask" INTEGER) AS begin
8
by: billmiami2 | last post by:
I'm experiencing a strange problem that I believe is related to ADO.NET but I can't say for sure. I have a simple ASP.NET reporting interface to a SQL Server 2000 database. One report that we...
3
by: laststubborn | last post by:
Dear Memebers, I have a critical problem. I have an application is running on 64 bit machine. It used to be running on 32 bit machine. That application is using a Stored Procedure that uses...
4
by: =?Utf-8?B?QmFidU1hbg==?= | last post by:
Hi, I have a GridView and a SqlDataSource controls on a page. The SqlDataSource object uses stored procedures to do the CRUD operations. The DataSource has three columns one of which -...
12
by: Light | last post by:
Hi all, I posted this question in the sqlserver.newusers group but I am not getting any response there so I am going to try it on the fine folks here:). I inherited some legacy ASP codes in my...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.