Forum Replies Created

Viewing 15 posts - 316 through 330 (of 395 total)

  • RE: Generate Next Numbers with SQL Server

    I found some different ratings to this articles.

    It will be better to get a feed back rather than just a rating.

    Is there any way that I can see who rated...

  • RE: Generate Next Numbers with SQL Server

    Jim Underwood ,

    I also found it unreadble. I think this formatting is introduced when publishing the artcle.

  • RE: Function to read Registry

    Thankx Frank,

    I wonder y they have not doucmented.

    I fonund folowing code from the internet

    DECLARE @version    VARCHAR(100)

    EXECUTE master.dbo.xp_regread 'HKEY_LOCAL_MACHINE',

      'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion',

      'CurrentVersion',

      @version OUTPUT,

      'no_output'

  • RE: Monthly contest

    I agree with u Frank Kalis

    Even you can get more points by posting same twice.

    Even for the replices like 'Thankx' you will...

  • RE: store stored proc results into table

    if exists (select * from tempdb..sysobjects where id = object_id('tempdb..#t_sp_who_output'))

       drop table #t_sp_who_output

    go

    CREATE TABLE #t_sp_who_output (

     [spid] [smallint] ,

     [ecid] [smallint] ,

     [status] [nchar] (30)  ,

     [loginame] [nvarchar]...

  • RE: SQL Server Windows Authentication

    From BOL. I think u will get ur answer from this

    Authentication Modes

    Microsoft® SQL Server™ can operate in one of two security (authentication) modes:

    • Windows Authentication Mode (Windows Authentication)

  • RE: Email Notifications

    better if u can put the name of the poster in the emial body as well

  • RE: Question of the Day for 02 Mar 2004

    agree with INFO01

    1st answer is the most correct answer.

    therefore 4th is incorrect!

  • RE: Fatal error 644???

    This is BOL says

    Explanation

    This error occurs when the nonclustered index indicated by the index ID is in error. The corruption is detected when a process tries to delete a nonexistent...

  • RE: Generate Next Numbers with SQL Server

    I got your point now

    Thankx

    I thought u were saying some error in my method.

  • RE: how do i query and XML file

    Use OPENXML

     

    DECLARE @idoc int

    DECLARE @doc varchar(1000)

    SET @doc ='

    <ROOT>

    <Customer CustomerID="VINET" ContactName="Paul Henriot">

       <Order CustomerID="VINET" EmployeeID="5" OrderDate="1996-07-04T00:00:00">

          <OrderDetail OrderID="10248" ProductID="11" Quantity="12"/>

          <OrderDetail OrderID="10248" ProductID="42" Quantity="10"/>

       </Order>

    </Customer>

    <Customer CustomerID="LILAS" ContactName="Carlos Gonzlez">

       <Order CustomerID="LILAS" EmployeeID="3"...

  • RE: Generate Next Numbers with SQL Server

    NO SIR,

    If I didn't update just after reading there is chance of getting same number for both records.

    To avoid that I am updating the Next number Just after reading.

     

     

  • RE: Generate Next Numbers with SQL Server

    My argument is if both users are using same type. they will get same number there can be duplicate number unless u update it just after reading.

     

     

  • RE: ADO PAGES via VB

    OK Frank Kalis 

    Say I have 1000 records

    And i have open ado which has page size  = 100

    there fore there are 10 page

    If...

Viewing 15 posts - 316 through 330 (of 395 total)