Forum Replies Created

Viewing 15 posts - 3,916 through 3,930 (of 6,394 total)

  • RE: .csv format from ssms

    Scott D. Jacobson (8/20/2012)


    anthony.green (8/20/2012)


    Scott D. Jacobson (8/17/2012)


    anthony.green (8/17/2012)


    run query in ssms, results to grid, right click top left hand blank thing to select the whole result set including headers,...

  • RE: High Space Used in Database

    Data file more than 90% full, find big tables and delete data no longer needed, add more space to the file, as a counter measure check the auto growth settings...

  • RE: .csv format from ssms

    Scott D. Jacobson (8/17/2012)


    anthony.green (8/17/2012)


    run query in ssms, results to grid, right click top left hand blank thing to select the whole result set including headers, then right click, save...

  • RE: Index Reorg and Rebuild

    Take a look at Ola's scripts in my signature, he has a good comprehensive maintenance script which will do what you want.

  • RE: SSRS Chrome Safari - Options on how to get reports to render

    Nope, we need to give the users direct access to the web page, so rendering to file is not an option.

    As this is going to be external facing SSRS and...

  • RE: SSRS Chrome Safari - Options on how to get reports to render

    To add on to this, if you go in via ReportServer and browse via that URL the reports render as HTML. It is only if you go in on...

  • RE: Varchar Exceeding 8000 characters

    Change the function to return varchar(max) and have a str of varchar(max)

  • RE: create new database

    Follow the instructions on this link http://technet.microsoft.com/en-us/library/dd207004.aspx

    Make sure you are a local admin of the server where SQL is installed.

    Then once the above has been done and SQL is in...

  • RE: create new database

    You need to grant the nessesary access to your account, so you will need to login as an account which has the right access to change user permissions.

    Typically your DBA...

  • RE: Total backup size of backup of all databases in every month from backupset table in msdb

    What have you tried so far?

    And does it need to be a total of all databases per month,

    E.g

    200GB July 2012

    Or does it need to be broke down by DB

    20GB...

  • RE: .csv format from ssms

    run query in ssms, results to grid, right click top left hand blank thing to select the whole result set including headers, then right click, save results as

  • RE: Down grade from sql 2008r2 Enterprise to Standard

    MSDB you probably wont have any problems with, but master you might as thats the "server" db, unsure if there would be some flag or data in master to say...

  • RE: only get data with special pattern

    bitbucket-25253 (8/16/2012)


    Be very, very careful about using ISNUMERIC .. for example, altering your input data slightly to more readily see the possible problem.

    DECLARE @Codes TABLE (Code VARCHAR(100),LineNr...

  • RE: Adding/subtracting columns to get total

    One or more of the columns must be null.

    You can handle it by using ISNULL

    Something like below

    (ISNULL(Vehicle.value,0) + ISNULL(Vehicle.Extras_Value,0) + ISNULL(Vehicle.Expenses,0) + ISNULL(Vehicle.Another_Tax,0) + ISNULL(Vehicle.Other_Extras_Value,0)) AS NetCost

  • RE: .csv format from ssms

    Make your inserts into your tempoary table a sub query

    something like this

    declare @CurrentSchoolYear int,

    @dtBeginDateIA3 datetime,

    @dtEndDateIA3 datetime,

    @dtBeginDateIA2 datetime,

    @dtEndDateIA2 datetime,

    @dtBeginDateIA1 datetime,

    @dtEndDateIA1 datetime,

    @dtBeginDateIA datetime,

    @dtEndDateIA datetime

    select @CurrentSchoolYear = iCurrentSchoolYearCode from tblSysVariables

    SELECT @dtBeginDateIA3 =...

Viewing 15 posts - 3,916 through 3,930 (of 6,394 total)