Forum Replies Created

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

  • RE: Seriously Quirky Performance Behavior in a Query

    My first guess would be with all the implicit conversions it has to do converting the strings '10/1/2012' and '11-30-2012' to datetime.

    Can you upload the execution plans in a SQLPLAN...

  • RE: Date format

    DECLARE @Expiry_Date DATETIME = '2012-12-25 00:00:01.003', @Prod VARCHAR(MAX), @Product_Name VARCHAR(10) = 'Vehicles'

    SET @Prod=@Product_name + RTRIM(@Product_name)

    + ' (Expires '+RTRIM(DATENAME(MM, @Expiry_Date ) + RIGHT(CONVERT(VARCHAR(12), @Expiry_Date ,107),9))+ ')'

    SELECT @Prod

    Output is

    VehiclesVehicles (Expires December 25,...

  • RE: Date format

    DECLARE @Expiry_Date DATETIME = '2012-12-25 00:00:01.003'

    SELECT '(Expires '+RTRIM(DATENAME(MM, @Expiry_Date ) + RIGHT(CONVERT(VARCHAR(12), @Expiry_Date ,107),9))+ ')'

    Gives me an output of

    (Expires December 25, 2012)

  • RE: moving data files of system databases in cluster

    Why do you want to copy them?

    What is the reasoning behind your task?

  • RE: Date format

    Well something is wrong as I run it I get the , in the output between the date and year which is what the convert 107 does.

    What is the data...

  • RE: Date format

    then do what you where doing in the first place, this is how it outputs

    SELECT '(Expires '+RTRIM(DATENAME(MM, GETDATE() ) + RIGHT(CONVERT(VARCHAR(12), GETDATE() ,107),9))+ ')'

    (Expires December 19, 2012)

  • RE: Trigger to update existing records

    Please post code, data and expected outcome as per the second link in my signature.

  • RE: Correlated Subquery - Stream Aggregate

    Sample data would be good as well

    Using the following sample data

    insert into Indexing values (199),(200),(210),(220),(230),(240),(250),(251)

    insert into Indexing2 (Col4) values (199),(200),(210),(220),(230),(240),(250),(251)

    I get no duplicates and now stream aggregate, the only difference...

  • RE: awe enable?

    Configure it by changing Group Policy, ask your AD guys to put all your SQL servers into an OU then assign a GPO to that OU so that accounts can...

  • RE: How to downgrade from SQL Server 2008 Enterprise to SQL Server Standard edition

    Backup all databases, script out all server wide objects, uninstall, reinstall, run all server with objects back in, restore all databases bar master

    Or

    Install a standard named instance, transfer everything to...

  • RE: how XML plan is convering graphical query plan internally

    I would direct you here, someone is asking the same question

    http://www.sqlservercentral.com/Forums/Topic1398222-391-1.aspx

    Its all down to the XML name space in the well formed XML

  • RE: how to know Graphical Execution Plans works through xmlcode in sql server?

    The XML name space in the XML is <ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan".....> so it knows that its a query plan and then opens it in the correct format

  • RE: install sql on veritas cluster

    No offence but have you done a search on the topic?

    First link I got after google'ing "install sql server 2008 on veritas cluster" seems to detail all the steps nessesary.

  • RE: DATA base inaccesible

    Always remember the clue is usually in the error message.

  • RE: sql server SSL ??

    Translated to English

    e can issue a certificate which will match the requirements of SQL SERVER 2012

    The certificate must be in the local computer certificate store or the current user.

    Current system...

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