Forum Replies Created

Viewing 15 posts - 5,131 through 5,145 (of 7,164 total)

  • RE: SELECT INTO

    There are some restrictions but consider using BCP Native mode to get the best performance when transferring data between SQL Servers.

    http://msdn.microsoft.com/en-us/library/ms191232.aspx

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: An interview with Jeff Moden: Exceptional DBA of 2011 and natural helper

    Congratulations Jeff, and Thank You for all you do 🙂

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    RTSConsult (9/20/2011)


    hmm ok so thr param is after the where clause. and the string value would be my repeating value for the name of the db correct?

    as for the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    RTSConsult (9/20/2011)


    Yes Sir! 🙂

    so hate to do this to you but a couple more questions arose once i ran this and it worked as expected.

    1. Can...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    Excellent! HTH 🙂

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    Are you running this on the same server where the SQL instance is installed?

    Use the same server info you would plug into SSMS.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Can we genarate script of image column of a table in sql server 2008

    You can to use an application programming language, e.g. one of the .NET languages, to write the binary data selected from the table to a file.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    RTSConsult (9/20/2011)


    hey so another question.

    I may want to only select to add them to 1 database.

    Can i change line 23 to use the db name and forgo the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to get end of line without reading all other lines

    You can use tail.exe. Microsoft released a version in the Windows Server 2003 Resource Kit and it works on Server 2008 as well: http://www.microsoft.com/download/en/details.aspx?id=17657

    Or you can get an open source...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Adding db users to multiple db

    Here is a PowerShell 2.0 script that:

    1. Reads a list of Windows users from a text file.

    2. Creates a SQL Server login for that Windows user on an instance you...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Server principal "domain\user" is not able to access the database "userdb" under the current security context

    What is the default database of login domain\user ?

    Are you setting @execute_query_database in your call to sp_send_dbmail, or are you database-qualifying all object names in your query?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: db_ddladmin

    This will show you all the Windows Groups registered as SQL Server Logins that the login you're wondering about belongs to:

    EXECUTE AS LOGIN = 'windows_login_name_with_access' ;

    GO

    SELECT sp.name

    FROM ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Blocking issue from ODBC connection

    I know this is an old thread, but I am having a similar issue. Did you ever make progress on the issue?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Delete files older than n-days via T-SQL

    Gordon-265412 (6/5/2008)


    Forfiles is not included in every os by default. I needed to make sure that the code was supportable with no additional external software requirements (resource kit executables...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Fresh 64-bit SQL Server install will not field connections from 32-bit processes

    sqlbuddy123 (9/12/2011)


    After all the efforts that you have made, I would recommend to contact MS customer support to resolve this. That would save you lot of time and effort.

    ...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 5,131 through 5,145 (of 7,164 total)