Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)

  • RE: Help to copy tables from a database

    If I have an autoincrement column (is identity) the import/export wizard raise an error.

  • RE: max number of rows in a cursor (mssql 2005)

    .... It's not good what you are telling me....

    In what case it's reasonable to use cursors?

    My table contains varchar(50) and int columns. For each row I need to verify the...

  • RE: Autoincrement variable

    Chirag (12/1/2008)


    Insert into #table (col1)

    select TOP 100 ROW_NUMBER ( ) OVER (order by sys.columns.object_id) as 'rownum'

    from sys.columns ,sys.tables

    The result is that I want, but the solution "from sys.columns ,sys.tables"... very...

  • RE: Join problem

    set nocount on

    DROP TABLE #Tab1

    CREATE TABLE #Tab1 ([Cpt] [varchar](50) COLLATE Cyrillic_General_CI_AS NULL)

    INSERT INTO #Tab1 ([Cpt]) VALUES('2')

    INSERT INTO #Tab1 ([Cpt]) VALUES('235')

    INSERT INTO #Tab1 ([Cpt]) VALUES('234')

    INSERT...

  • RE: Join problem

    I have a solution but i don't like it (my 2 tables are very big)

    SELECT SUBSTRING(Tab2.Tel, 1, 2) AS tel, COUNT(Tab2.total) AS total

    FROM ...

  • RE: Join problem

    Sorry, i wanted to simplify the question, but it didn't work :D.

    Let try from the beginning:

    Hi!

    I have 2 tables:

    CREATE TABLE [dbo].[Tab1](

    [Cpt] [varchar](50)...

  • RE: BIT data type and aggregate function

    2005

  • RE: Join Question

    The biggest incovinience is that my tab1 has 1.5 milion rows and tab2 has 1000 rows. I think this joins will take too much time. I would like to use...

  • RE: Execute a function from a web service

    I find the answer:

    EXEC@err = sp_OAMethod @sh,'sqrtFunc',@ret OUT,@i

  • RE: Execute a function from a web service

    I solved the problem with mssoapinit (changigd the binding type), but can you tall me how to call a method. I have on my web service this operation:

    public int sqrtFunc(int...

  • RE: Execute a function from a web service

    My web services in on WCF, in .net.

    I tried:

    DECLARE @err varbinary

    ,@sh int-- SOAP handle

    ,@ret varchar(8000)

    ,@msg varchar(32)

    SELECT @msg = 'sp_OACreate'

    EXEC @err = sp_OACreate 'MSSOAP.SoapClient30', @sh OUT

    exec @err=sp_OASetProperty...

Viewing 11 posts - 1 through 11 (of 11 total)