Forum Replies Created

Viewing 15 posts - 61 through 75 (of 206 total)

  • RE: Dynamic column names

    <P>It may not be the most elegant, but it will work and you can extend your columns as well</P><PRE>

    declare

    @sql VARCHAR(8000


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: How to get a list of user-defined stored procedures

    Another option for you

    SELECT SPECIFIC_NAME 

    FROM INFORMATION_SCHEMA.ROUTINES

    WHERE ROUTINE_TYPE = 'PROCEDURE'

    ORDER BY SPECIFIC_NAME

     


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Error 21776: [SQL-DMO]The name ''''XXXXX'''' was not found in the Databases collection....

    Apparently, this will disappear if you restart the SQL Agent (not MSSQLSERVER!). The fact that the publication does not exist suggests that you shouldn't see it, but apparently the refresh...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Dynamic column names

    Based on the "play" data you've supplied, can you give an example of expected output? Unfortunately I am unable to grasp what you want from the description alone.


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Print/Format Help

    I take it then that you are running this remotely from the server where sqlcmd would be installed by default - presuming that you are running SQL Server 2005.

    Not...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Constraint

    One option you have open to you is to create a user defined function and add that as part of a check contraint. Here's an example from BOL that may...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Print/Format Help

    BOL recommends you use SQLCMD instead of OSQL.

    I guess it depends what kind of formatting you are after. Looks like SQLCMD has some options available.

    Any chance you can output...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Replication problems

    Not sure if this is helpful, but, I believe you can only have 2005 as a publisher in this scenario - assuming that you are using 2000 as a publisher...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: How to make a connection to a subscriber database ?

    You probably only needed to add repl_distribution as a login to the SQL Server instance.

    Using SSMS (yes, SQL Server Management Studio), just use the object explorer to drill down to...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Dynamic SP to create where clause - ''''/'''' issue

    Sam,

    I think what Chris was hinting at was why are you building a dynamic SQL statement and running it, instead of just running the statement "SELECT FullName AS UserFullName FROM...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: How to make a connection to a subscriber database ?

    Have you checked that you can connect to the other server via SSMS? This may give you an indication of where to start looking for the actual problem.

    Is there some...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Mind Your Manners

    Great article. Having just spent some time working through a posted question with some other SSC members, I could see the guys was struggling with some of the answers and...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Replication Monitor reveals poor performance - but what to do to fix it?

    Thanks for the pointers David. Yes I did mean "NOT" a hardware issue. But obviously even with a good set of hardware, you still need to ensure your configuration is...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: Query Running Slow

    Review the comments I put in after Rudy added his list, then go to BOL (books on line) and look up anything that is not clear to you. Then if...


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • RE: OSQL and GO

    Does the procedure you are trying to drop already exist?

    What does the actual error say?

    These things could be helpful indetermining what is actually going wrong


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

Viewing 15 posts - 61 through 75 (of 206 total)