Forum Replies Created

Viewing 15 posts - 18,421 through 18,435 (of 26,484 total)

  • RE: Maintenance Job Increases Transaction Logo Size

    A full backup does not truncate the transaction log. This is only done by a backup log (transaction log backup). Also, please understand that a log truncation is...

  • RE: Performance problems with (unnecessary) nested stored procedures

    JakesterUK (11/11/2009)


    I am fairly sure the SP is as optimised as it can be, however, I've posted it below: -

    ALTER PROCEDURE CheckContext

    @CxID int,

    ...

  • RE: How to find the server name that the instance is running on?...

    Assuming that SSMS is running on your PC and you can connect to the SQL Server instance in question from SSMS, in a query window run this:

    select @@servername

  • RE: No Decimal in Reults

    It would help if you provided the actual error message you are getting.

  • RE: How to Split the Text

    Slightly confused here, could you explain your problem a little more? It may help to have the DDL for the table involved plus any code you have already attempted...

  • RE: Alternative to Over() sum and max applications?

    It would help to see the actual code, the DDL for the tables involved, some sample data for the tables involved, and finally the expected results based on the sample...

  • RE: Get date format as DD-MON-YYYY HH:MM AM

    Does this code help you?

    declare @MyDate datetime;

    set @MyDate = getdate();

    select convert(varchar(30), @MyDate, 113);

    select case when datepart(hh, @MyDate) > 12 then replace(convert(varchar(30), @MyDate, 113), cast(datepart(hh, @MyDate) as varchar), cast((datepart(hh, @MyDate) -...

  • RE: Anyone actually managed to install SQL Server 2005 Standard 64bit on Windows 2008 Server Standard 64 Bit ?

    Are you sure you are trying to install SQL Server 2005 Standard Edition? It almost looks like you are trying to install a web edition.

    Have you checked the setup...

  • RE: significance of schema

    Schemas can be used to simplify permissions for different users. For example, you could have schemas from Sales, Purchasing, Inventory; and the users in those departments could be granted...

  • RE: get precision part in casting

    SQL Learner-684602 (11/10/2009)


    hi all,

    how can i get the precision part from this

    select cast(73982597/1000 as numeric(8,3))

    thanks in advc

    This is basically the same question you asked here just worded slightly differently.

    Same thing,...

  • RE: latitude / longitude Rule

    SQL Learner-684602 (11/10/2009)


    i have to cast a column like this

    select cast(73982597/1000000 as numeric(8,6))

    it gives me 73.000000

    but i want result as 73.982597

    any help

    thanks

    Integer arthimetic. Do this:

    select cast(73982597/1000000.0 as numeric(8,6))

  • RE: Need to Shrink data & log file

    Run this:

    select name, log_reuse_wait_desc from sys.databases

    What does the log_reuse_wait_desc say for this particular database?

  • RE: latitude / longitude Rule

    SQL Learner-684602 (11/10/2009)


    Hi

    I am having an int column of length 8..

    i have to convert it to Latitude/ longitude value bye using rule-

    divide by 10 to the power 6..

    but as...

  • RE: Transaction Log out of control

    GilaMonster (11/10/2009)


    dan-404057 (11/10/2009)


    (The log_reuse_wait field = 6).

    What's log_reuse_wait_desc? I don't offhand know the codes.

    From BOL:

    6 = Replication

  • RE: SSC Level List?

    GilaMonster (11/10/2009)


    Andy Llewellyn (11/10/2009)


    Did the distribution graph of members at each level ever get published?

    Don't think so, but it's heavily weighted to the lower end.

    There are 15 people...

Viewing 15 posts - 18,421 through 18,435 (of 26,484 total)