Forum Replies Created

Viewing 15 posts - 6,946 through 6,960 (of 7,503 total)

  • RE: Self-Joins?

    aaarch Wednesday morning syndorme affected my query !

    -- if all [account#] have rows...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Self-Joins?

    "I am basically looking for all account #’s that have no systems associated to them"

    SELECT [Account#]

    From [System_Account_Association]

    where [Associated?] ='NO'

    group by [Account#] -- in stead of distinct because it...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Decreasing the varchar column sizes in a table

    You'll have to check with your developer(s) to see if they realy need all possible bytes.

    Meybe they've worked out a combination so they don't exceed 8060 bytes in a...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: How to proove "set nocount on" is needed ?

    In fact, that QOD pushed me to launch this thread.

    We don't use CR, so I loose that argument.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Connection problems using Enterprise Manager

    - what's the servers load when you try to connect and suffer the problems :

      * cpu

      * memory

      * tempdb-load

      * network

      * numer of connections at the server

     ...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Question of the Day for 27 Jul 2004

    with this supposed to be correct result : please contact pss.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: tempdb log full - (Not really!)

    when expantion is done "in process", you may get timeouts to the "expand file" request. SQLServer then says "...file full".

    The request itself is not terminated, but is completed after...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Running sql from command prompt

    from BOL :

    WITH <termination>

    Specifies when to roll back incomplete transactions when the database is transitioned from one state to another. Only one...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Parsing dates from diferent timezones

    Maybe this udf can be used as a workaround :

    if exists (select * from dbo.sysobjects where id = object_id('dbo.udf_Get_Last_DayNr'))

      begin

     Drop Function dbo.udf_Get_Last_DayNr

     print 'Dropped'

      end

    go

    Create Function dbo.udf_Get_Last_DayNr

    (  @Start_DateTime AS datetime ...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Parsing dates from diferent timezones

    Maybe you can read the reg-key from within your application's front-tier (not at the mid-tier or server) and have the timezoneshift delivered by your application.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Parsing dates from diferent timezones

    Frank Kalis pointed me toward a way to find out the local timezone using the registry :

    DECLARE @delta INT

    EXEC master.dbo.xp_regread

    'HKEY_LOCAL_MACHINE'

    , 'SYSTEM\CurrentControlSet\Control\TimeZoneInformation'

    , 'ActiveTimeBias'

    ,...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: DB Standards Reality Check

    This is without a question a joint venture of DA and DBA.

    But if you forget to have your standards supported by you top-level ceo your project...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: Running sql from command prompt

    in sql2k you can also use

    alter database yourdb SET OFFLINE  WITH ROLLBACK IMMEDIATE

    This way you avoid problems with reattatching the db at the same server and all users...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • RE: getting all users accross all servers

    If you only want the userid - names , you can query against systables using Isql.

    These are queries against the systemtables; I do not recommend to make an habit of it.

    If...

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data and code to get the best help

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Who am I ? Sometimes this is me but most of the time this is me

  • Viewing 15 posts - 6,946 through 6,960 (of 7,503 total)