Forum Replies Created

Viewing 15 posts - 10,186 through 10,200 (of 15,381 total)

  • RE: help with this query!!!!

    ChrisM@Work (10/31/2012)


    sqldba_newbie (10/31/2012)


    ChrisM@Work (10/31/2012)


    sqldba_newbie (10/28/2012)


    my bad...i have updated the code now...thanks

    Where? Without knowing how #sid is populated, it's impossible to do what you are asking.

    CREATE TABLE #Sid

    ...

  • RE: create sql server login to allow the user to change when he first logins

    Mani-584606 (10/31/2012)


    How to create sql server login to allow the user to change his password when he first connects to the SQL Server instance?

    By adding MUST_CHANGE after the password to...

  • RE: help with this query!!!!

    You seem to be long on need of help and very short in supply of details.

    Here is the code you posted.

    DECLARE @CurrentDateTime DATETIME

    SET @CurrentDateTime = Getdate()

    DECLARE @nth AS BIT

    DECLARE @Aus...

  • RE: Incorrect syntax near the keyword 'IF'.

    I know you fixed your syntax issue but I can't help but ask about your stored proc.

    "exec @commid = dbo.eware_get_identity_id 'Communication' --Another stored procedure

    I assume this is getting the...

  • RE: How to find Procs/Views/Functions using particular database?

    apat (10/31/2012)


    yes thats the plan. I just though it would be great to find out everything before hand if possible. Thanks for your help though.

    At best you can probably find...

  • RE: How to find Procs/Views/Functions using particular database?

    apat (10/31/2012)


    Thanks for the reply Brendan & Sean. I will use syscomments for sure. Just that we are planning to get rid of/move one of the databases and need to...

  • RE: RE:- HELP! Cursor results displayed in table

    Mackers (10/31/2012)


    Hi Chris,

    The SQL is quite hard to read (and I have never come across case statements & cursors used like that before) but rather than using a cursor couldn't...

  • RE: RE:- HELP! Cursor results displayed in table

    christopher.grant (10/31/2012)


    I have the following code below that prints a set of results to screen using put_line but I need to display the results as a table. Is it possible...

  • RE: CMS

    sqlserver12345 (10/30/2012)


    I am able to run a query in central management server created on one of the SQL servers lets say CMSServer1.

    I would like to store the result set of...

  • RE: How to find Procs/Views/Functions using particular database?

    apat (10/31/2012)


    let me be clear, I would like to find out

    1. if procs within other databases on the same server is using this db.

    2. procs/views/functions using this database through...

  • RE: can I get the cuerry of an existing table...???

    You don't need SSMSToolsPack to generate a script for the data. You can right click the database Taks -> Generate Scripts to bring up the Script wizard. On the Set...

  • RE: Passing servername as parameter in sqlserver.

    Mithra (10/30/2012)


    Yes Sean.That right.I need to create a sp in one of my test server and have that sp to pull all the details from another server in the...

  • RE: Passing servername as parameter in sqlserver.

    Mithra (10/30/2012)


    Team,

    I am trying to write a generic stored procedure to check all the processes running in the server.I will be using 'select * from sysprocesses.How can i...

  • RE: help with this query!!!!

    sqldba_newbie (10/30/2012)


    GSquared (10/30/2012)


    I'm not clear on what you're asking for help on. I see the code, I see you want to do something in a Join statement instead of...

  • RE: Update Table with Join NOT RBAR

    nfs_john (10/30/2012)


    Hello,

    My problem today is that when this company started they had no standards for data entry. So one person could enter Alabama and another Al while a third AL....

Viewing 15 posts - 10,186 through 10,200 (of 15,381 total)