Forum Replies Created

Viewing 15 posts - 5,776 through 5,790 (of 13,468 total)

  • RE: Cannot open or save a file in SSMS 2008 with new windows 7 box

    michael.packard (3/16/2012)


    No, SSMS is closed when I'm editing the registry, I wasn't specifically running regedit in administrator mode, but even when I did, my changes were overwritten.

    darn, sorry Michael, that...

  • RE: Need to map network drive

    well the commands to create and delete are like this:

    but that's done via a command line...i'm not sure wehterh you'd do that in a script.

    I've done it via xp_cmdshell before...

  • RE: how to block developers to exec stored procedure to update accounting data from back end?

    ouch.

    so developers edit a procedure to manipulate data they are not supposed to touch, then put the original procedure body back to it's "normal" definition?

    AND this is happening on Production?

    wow.

    my...

  • RE: Cannot open or save a file in SSMS 2008 with new windows 7 box

    Are you editing the registry while SSMS is still open? i think it saves it's settings on exit, so you might be deleting the key, and closing SSMS re-writes the...

  • RE: ssms help

    Error 1068: The dependancy service or group failed to start .

    control Panel>>Administrator Tools>>Services:

    sounds like the password for the user running the service might have changed, or was never set...

  • RE: Retrieve First Name and Last Name

    QQ-485619 (3/16/2012)


    I have a table which has a column called Name, which contains the name of our vendors. The data format in this column is lastname, firstName. For...

  • RE: Script Out Database Mail Settings?

    Mandeep Dulai (3/16/2012)


    Excellent script! Currently migrating to a new SQL Server and this has saved me a ton of time. Thank you!

    glad it helped you out!

  • RE: columns of the primary key of all tables of all schemas

    start with sys.indexes, and you have to join sys.index_columns and sys.columns

    select

    object_name(IDX.object_id),

    IDX.name,

    cols.name,

    * from sys.indexes IDX

    INNER JOIN sys.index_columns IXCOLS

    ON IDX.[object_id] = IXCOLS.[object_id]

    AND IDX.[index_id] ...

  • RE: SQL 2008R2 - ODBC cannot connect

    is the server an express instance , where remote connections are not enabled by default?

    is it the default instance or a named isntance, and is the SLq broswer service running?

    from...

  • RE: mySQL and not SQL2008?

    it looks to me like the cost of SQL Server 2008 starts at around $3,000 dollars...well maybe 6K for a dual proc multi core, 12k for a Quad Proc multi...

  • RE: defaut

    weston_086 (3/15/2012)


    Is this possible that i can have in this format 12/31/2099 .if we will do like

    ALTER TABLE [dbo].[test] ADD DEFAULT ((convert(int,convert(datetime,'12/31/2099')))) FOR [id]. it will set default...

  • RE: .asc file to .txt file

    asc files are just plain old text files. open them up in notepad...you'll see the extension doesn't matter, the contents are plain text, the same way .txt files are.

  • RE: defaut

    well, you should store dates in datetime columns. you end up wasting a lot of time converting int values to dates and back again when it is not...

  • RE: Need separeta last, first and midin from full name

    well in theory, you split the column on the space betwen the words...

    but the issue is, "you cannot tell the which is the "middle" name between "James Tiberius Kirk" and...

  • RE: can any just help me to get a loop structure for this query?

    my version, which accepts a dynamic number of words, splitting them by the space between words:

    CREATE PROCEDURE [dbo].[CategoryName] @SEARCHSTRING varchar(1000)

    AS

    DECLARE @COLUMNNAME VARCHAR(128),

    ...

Viewing 15 posts - 5,776 through 5,790 (of 13,468 total)