Forum Replies Created

Viewing 15 posts - 46 through 60 (of 109 total)

  • RE: exec stored proc. dynamically

    Hello,

    I have simplified the stored procs as follows.

    Note that the uspMain has an insert into query

    create procedure uspMain

    as

    insert into tblData

    exec uspSomeProc

    ...

    create table #tblResult(CustID int null)

    insert into #tblResult(CustID) values(360)

    select * from...

  • RE: exec stored proc. dynamically

    Initially, I get the nested error...

    So then I tried to see if I can over come the error by running dynamic sql to execute the sp and insert into a...

  • RE: exec stored proc. dynamically

    The stored proc has in it a few queries with insert into...

    So if I run what you suggested, I get the error:

    INSERT EXEC statement cannot be nested

  • RE: exec stored proc. dynamically

    Yes, I can see that in the message but I have checked several times and the temp table has the exact column counts and names as the result of the...

  • RE: read file in email

    Thanks

  • RE: ftp task - PGP public key

    Thanks

  • RE: network monitor

    Animal Magic (12/7/2012)


    Specifically for your SQL boxes or just all servers on your network regardless of SQL instances?

    yes, all servers regardless of sql instances.

    we do have sql monitor, but that...

  • RE: user permission

    Lowell (11/27/2012)


    i believe if a login belongs to the sysadmin group, and you create a user for the login in any database, the db)owner checkbox gets inherited as readonly ;...

  • RE: user permission

    SQLSACT (11/27/2012)


    arkiboys (11/27/2012)


    Hi,

    Here is the database settings:

    There is domainName\users unders security\ logins.

    db_owner is NOT checked for database1

    Then I go to database1, security\users.

    I only see users. Notice that it is not...

  • RE: permisssion

    Guru Nagabhushan (11/23/2012)


    You could create the new group in Windows AD or you could add the two logins to a database role and assign the permissions to the role.

    does...

  • RE: permisssion

    Guru Nagabhushan (11/23/2012)


    You could create the new group in Windows AD or you could add the two logins to a database role and assign the permissions to the role.

  • RE: permisssion

    Guru Nagabhushan (11/23/2012)


    arkiboys (11/23/2012)


    Hi,

    How do I make the users group i.e. domainname\users to be able to only select from tableA but user1 and user2 to have full control on it?

    Note...

  • RE: system databases mirroring

    GilaMonster (11/20/2012)


    System databases cannot be mirrored, only user databases.

    You probably want to copy over logins, jobs, etc, but it can't be done by mirroring the DBs.

    How can the logins and...

  • RE: backup/restore process

    Thank you

  • RE: backup/restore process

    Perry Whittle (11/19/2012)


    arkiboys (11/19/2012)


    1-Do you mean to overwrite?

    No, write to a new file each time with a unique name

    arkiboys (11/19/2012)


    2-I am thinking of having t he full backup of the...

Viewing 15 posts - 46 through 60 (of 109 total)