Forum Replies Created

Viewing 15 posts - 61 through 75 (of 205 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(

  • 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

     

  • 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...

  • 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.

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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...

  • 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

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