Forum Replies Created

Viewing 15 posts - 3,046 through 3,060 (of 3,232 total)

  • RE: Cursors? Variable Tables and Temp Tables?

    Set based operations, from my experience, are always much more efficient than row based operations using loops of any kind.  I would recommend not using cursors period.  Any other row...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Database Naming Standards...

    I've done it both ways, adding a prefix/suffix in the DB name and using passwords.  I prefer using passwords because of what Jo P. points out.  He also makes another great...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Change Logical File Names of Database

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=250647

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Can DTS be used to invoke .bat file?

    You may try the 'Execute Process' task in DTS.  This should allow you to call a .bat file.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: query problem..

    '...how do i use a wildcard for a column in another table'

    I assume that you are trying to compare AgsSite.Descriptor values to the values in tblScootlist.strMajorRoad?  If this is...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OSQL and ODBC DSN

    I have seen application that use ODBC gather the username/password during runtime and pass them into the connect string along with the DSN. 

    You may want to explore using the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OSQL and ODBC DSN

    If you are using the standard ODBC driver for SQL Server, SQLSRV32.DLL, it does not save the password within the DSN.  Even if you go into your DSN from the...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OSQL and ODBC DSN

    See osql in BOL:

    If neither the -U or -P options are used, SQL Server 2000 attempts to connect using Windows Authentication Mode. Authentication is based on the Microsoft Windows...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: OSQL and ODBC DSN

    Add the -E switch to your osql command.  Does this help?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Connectivity problem in WORKGROUP

    Please disregard my question.......Windows XP sp2 firewall was blocking the necessary ports.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: strip HTML tages

    Can you give an example of how one of your fields would appear with the tags?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: How to find original fill factor

    select origfillfactor from sysindexes where name = INDEXNAME

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: How to remove duplicate record?

    This should grab the first row it runs accross based on the EmpID:

     

    INSERT INTO EmployeeTable (Columns) SELECT Top 1 FROM StagingDatabase..StagingTable WHERE .......

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: How to remove all data from all tables in a database?

    Is that all of the tables in the database?  If so and depending on how much data is in each table, you may consider rebuilding your database from scratch.  Do...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: User Permissions on Tables, SPs, Views, etc

    It will not list the user names of user inheriting permissions from dbo.  I do not know how to tweak it to get the results you are after.  Sorry....

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 3,046 through 3,060 (of 3,232 total)