Tuesday, February 21, 2012
Running SP from Access 2000 with using SP owner qualifier
Can anyone tell me how to call a SQL Server Stored Procedure from an MS Access form with having to use the owner.spname style. I just want to call spname from my form.
I know it has to do with user permissions and roles, but no matter what I do I have to still use the owner.spname style.
Thanks,
Brian.are you using ADP?
if you're not, move it to ADP-- it is an awesome platform.
(ADP handles SP a lot better than MDB)|||Thanks for the suggestion Aaron, but I am using ADP and it's Access 2000.
I think the issue is on the server side with SQL Server, but one of the lads working (same privileges apparently) with me doesn't have this issue ... it's weird and greatly annoying.
Cheers ...|||instead of dealing with buggy input parameters i usually just use this syntax in the recordsource property of an ADP form or report:
EXEC sp_colums 'sysobjects'
is that what you're looking for?|||That works a treat Aaron, thanks a mill. Now life is just so much easier :)
Running SMO inside a SCRIPT TASK
Dear folks,
I'm trying to call SMO classes from SSIS package but I don't know which reference to use..
Mighn't be Imports Microsoft.SqlServer.Management? But Intellisense don't give me such info.
Let me know where I'm failing.
TIA
http://www.google.co.uk/search?hl=en&q=smo+namespace&meta=
-Jamie
|||
thanks Jamie,
It seems that must be moved some assemblies to \Microsoft.NET\Framework\v2.0.xxxxx in order to acquire its full features from a package.
|||
Correct. But only at design-time
http://blogs.conchango.com/jamiethomson/archive/2005/11/02/2341.aspx
-Jamie
|||
thanks for the response but I don't get the point colleague.
What do you mean in design-time? I want to instantiate SMO classes from Script Task. I know that I can do smo stuff by mean Foreach Loop Container and using as enumerator SMO but my goal is run (as I did before with sql2k and DMO throught Visual Basic Script) SMO fully from scripting
|||
You only need the DLLs in \Microsoft.NET\Framework\v2.0.xxxxx when you are desinging the package. When you run it they don't need to be there.
This is an important consideration when you deploy your packages because it means you don't have to deploy DLLs to \Microsoft.NET\Framework\v2.0.xxxxx on the server on which you run your packages.
-Jamie
|||
ok, thanks again.
But anyway no namespaces appears in my Script Task about SMO after that.
|||Did you add a reference and add the Imports statement?
-Jamie
|||thanks a lot!!!!!!!! you must be tons of patience|||
enric vives wrote:
thanks a lot!!!!!!!! you must be tons of patience
I'm sure my girlfriend wouldn't say that !!!
-Jamie
|||Well then I hope she is not a programmer/dba or something like that..|||
Definately definately not!
|||!!