Forum Replies Created

Viewing 15 posts - 151 through 165 (of 1,109 total)

  • RE: Restrict windows authentication

    Well, the two authentication modes supported by SQL Server are Windows and Mixed (both Windows and SQL). So these are your choices :). You can of course play with the...

  • RE: AVG pr hour

    In the "between" part use valid datatime values. e.g.:

    cast ('2008/3/14 00:00:00' as datetime)

    AND Tidspunkt BETWEEN CAST('2008/3/14 00:00:00' AS DATETIME)

    ...

  • RE: Calculation with Alphanumeric Values

    New Commer (7/18/2008)


    Hi

    how to achieve the calculation between two alphanumeric charactered field's value?

    we enter only decimal numbers to tht alphanumeric field. but while trying to subtract both the error,...

  • RE: sql query to get sql log file location

    harriet.louis (7/16/2008)


    Hello All,

    I am hoping you can help. I need to find out if it is possible to read the location of the sql logs from the database. I am...

  • RE: Convert Numeric Value to Time

    David (7/16/2008)


    Hi all,

    I have an application that stores time as a numeric value, for example the value 47965 is stored in the database and the application displays the time as...

  • RE: descrepency between sys.indexes and sys.dm_db_index_usage_stats

    winston Smith (7/16/2008)


    ive ran a query to see all indexes associated with an object

    select * from sys.indexes(nolock)

    where object_id in

    (

    Object_id

    )

    for one table in particular, there are 5 indexes returned by the...

  • RE: An aggregate may not appearin the set list of an UPDATE statement

    The BLOB datatypes that are specified with "max" are available only on SQL Server 2005 and later. You are trying to use nvarchar(max) and the "max" part confuses the 2000...

  • RE: Pivot style query

    What you can do is to encapsulate your query into another select statement, and do a max like:

    SELECT SUM(COALESCE(x2.Monday, 0))

    , SUM(COALESCE(x2.Tuesday, 0))

    FROM (

    --...

  • RE: Pivot style query

    The above is quite a common solution on 2000. For the null values you can use ISNULL with a 0 parameter.

    - Andras

  • RE: oracle

    anil1078 (7/8/2008)


    Hoe cam we count there cords with out using SELECT count(*) tablename

    Please post only once, we will read all your posts anyway 🙂 The corsspost is on http://www.sqlservercentral.com/Forums/Topic529811-392-1.aspx

    Regards,

    ...

  • RE: oracle

    anil1078 (7/8/2008)


    Hoe cam we count there cords with out using SELECT count(*) tablename

    This is a crosspost, one is answered on http://www.sqlservercentral.com/Forums/Topic529811-392-1.aspx

    - Andras

  • RE: PL/SQL

    anil1078 (7/8/2008)


    how can we count no of records from the table with out using select count(*) from table tablename

    Well, you could do something contrived and daft?? 🙂 like:

    SELECT MAX(x.nr)

    FROM...

  • RE: SQL SERVER NEW USER PERMISSION

    lakshya.rahul (7/8/2008)


    Hi !!!

    i have sql server 2000 developer edition installed on my system.

    i have created a new database named my_DB

    then i have created a new user for the database(my_DB)...

  • RE: eliminate nested while loop

    Could you escape the < characters in your xml with & lt; (no space in between) please. In that case we will be able to see your xml document, and...

  • RE: Problem calculating a negative variance

    Just as an explanation: you are most likely working with integers :), and when you do the division, you loose everything after the decimal point. So even in the "solution"...

Viewing 15 posts - 151 through 165 (of 1,109 total)