Viewing 15 posts - 1,606 through 1,620 (of 2,062 total)
can you remove the line
Set rstStoredProc = adocmd.Execute
February 16, 2006 at 11:47 am
*Declared: do you have a line
Set rstStoredProc= Server.CreateObject("ADODB.Recordset")
*Is your connection string correct? (see error object not open)
From http://www.connectionstrings.com/
Trusted_Connection=yes is for ODBC whilst you are using OLEDB
*oledb
"Provider=sqloledb;Data Source=REMITCOCLTVOL;Initial Catalog=REMITCOSQLServer;Integrated Security=SSPI;"
February 16, 2006 at 10:22 am
Something like this?
SELECT Table1ID1.targetInformation AS target1,Table1ID2.targetInformation AS target2
FROM Table2 LEFT JOIN Table1 Table1ID1 ON table2.ID1=Table1ID1.ID /*fill with NULL if not present in table1*/
LEFT JOIN Table1 Table1ID2 ON table2.ID2=Table1ID2.ID
ORDER BY Table2.ID
February 16, 2006 at 5:05 am
At the linked server properties
you can set how your account will be "transferred" across the network to the linked server.
Perhaps you can try with using the current login security context...
February 16, 2006 at 4:52 am
some in the role db_securityadmin can assign execute permission.
February 16, 2006 at 4:47 am
Welcome
the syntax is
EXECUTE mylinkedserver.myremotedatabase.myremoteobjectowner.USP_MYREMOTESTOREDPROCEDURE @param1=....
February 16, 2006 at 4:39 am
CREATE STORED PROCEDURE dbo.USP_CLASSTRACK_PIVOT_QUARTER
AS
SET NOCOUNT ON
SELECT classcode,
SUM(CASE Quarter WHEN 'winter' THEN Amount ELSE 0 END) AS 'Count Winter',
SUM(CASE Quarter WHEN 'spring' THEN Amount ELSE 0 END) AS 'Count...
February 15, 2006 at 2:18 pm
where did you declare rstStoredProc ?
you can test if rstStoredProc exist with
if not(rstStoredProc is nothing)
*move
' Spit out our data which I pull out of the recordset.
'Response.Write Trim(rstStoredProc("Supervisors"))
'Response.Write " "
'Response.Write...
February 15, 2006 at 2:01 pm
for update you need to specify the update command also
for the microsoft help on dataadapter.update
February 15, 2006 at 1:54 pm
Perhaps to save on the amount of I/O that has to be done to reclaim the unused space.
New records will be probably created using the new size.
February 15, 2006 at 11:23 am
could be permissions, referential integrity
Are you using a stored proc for the delete command or dynamic sql?
(number of output parameters match?)
February 15, 2006 at 10:56 am
have a look at
http://www.davidpenton.com/testsite/scratch/disconnected.command.asp
basically
rs=adocmd.Execute
while not rs.eof '*retrieving all records*
rs.movenext
wend
February 15, 2006 at 10:53 am
Hmm, the image doesn't show up.
Can you post your report sql + table definitions & some sample data?
*calling a stored procedure from asp
http://support.microsoft.com/kb/q164485/
*creating a stored procedure
CREATE PRODECURE dbo.USP_MY_PROCEDURE
(@Param1 as...
February 15, 2006 at 10:40 am
server: =mssql10.oneandone.co.uk
login id = dbo152591563
password= dbo152591563's password
Can you verify through the admintool that the user dbo152591563 can login?
February 15, 2006 at 10:33 am
Viewing 15 posts - 1,606 through 1,620 (of 2,062 total)