Forum Replies Created

Viewing 15 posts - 361 through 375 (of 1,109 total)

  • RE: Create table with number of columns in a parameter

    nicolas.pages (3/10/2008)


    Hi,

    I am wondering if it is possible to create a temp table with a parameter that would contain the number of columns of the temp table. All the columns...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Can't Restore the database over the Network Path.

    abansil (3/10/2008)


    The Database Engine service could not resolve the specified file location. Either the location does not exist, or the current login account does not have access to it....


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: can't restore over the network path

    abansil (3/10/2008)


    The Database Engine service could not resolve the specified file location. Either the location does not exist, or the current login account does not have access to it....


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Try / catch info needed.

    The "s" table alias is restricted to your insert statement, and does not go into the begin statement or higher. E.g. you could have a second insert/select statement in the...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Stored Proc Problem

    rrhode (3/10/2008)


    Thanks very much for the speedy reply. This the result I got from print (@w_sql)

    CREATE VIEW GI.vGI_CL_200712_EBVG_RJ_Test

    AS

    DELETE *

    FROM ( SELECT * FROM GI.vGI_CL_200712_EBVG_RJ_Test

    WHERE ACRMVTTYP_CDE...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: How to write a query to join 2 table

    Whoknow (3/10/2008)


    Hi all,

    I have 2 tables as below

    Company: id, CompanyName

    Employee: id, CompanyID, EmployeeName

    as you guys can see that Employee.CompanyID is a foreign key link to Company...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Restore database backup files into database

    Mohan Kumar (3/8/2008)


    Hi Sarvesh,

    I understand you have performed backup of database not imported data. If it is then following command will help you to restore .csv file:

    restore database Test from...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: same string selection

    faheemlatif (3/10/2008)


    Hi ,

    in my table i have values 'FAHEEM' and 'faheem',Now i have to select 'faheem' but SQL treat both as same ,

    PLz suggest.

    You could also use the COLLATE keyword...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Passing Temp table value to stored procedure from another stored procedure

    guptaopus (3/10/2008)


    Hi,

    I would like to use a stored procedure that calls other stored procedures and use a

    temporary table to pass the results back and forth.(from Parent to child)

    anybody help me...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Stored Proc Problem

    rrhode (3/10/2008)


    I hope I am in the right forum.

    I am running the stored proc below that creates a view.

    Is the code I`m using valid??

    CODE:

    set @w_sql = 'CREATE VIEW ' +...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Math Formula in a Variable

    shogg (3/7/2008)


    Thanks for the quick reply.

    So in 2000 I should create a temp table and insert to that temp table? Since I am in a function it wont let...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Display all Column information in single cell ? got result, but not able to understand concept

    metoseeu (3/6/2008)


    Hi

    My objective is to display all the record information of a particular column in single cell.

    tablename

    Iden Code

    2BB

    4BB

    4CH

    Result should be something like ----BB,BB,CH.

    I used the...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Performance Issue

    Ratheesh.K.Nair (3/7/2008)


    Hi All,

    Is there any performance issue in using EXISTS and TOP in queries.

    Thanks in Advance

    I'm sure we could...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Restore database backup files into database

    Sarvesh Kumar Gupta (3/7/2008)


    Hi,

    I have take a backup of database in .csv format. now i want restore these files into sql server 2005.

    How it is possible? tell me.:)

    Regards

    Sarvesh Kumar Gupta

    You...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • RE: Math Formula in a Variable

    Sorry, on SQL Server 2000 you cannot use table variables for inserting into, so here is a version with temporary tables:

    DECLARE @RET_VAL DECIMAL(13, 2) ;

    DECLARE @formula AS VARCHAR(255) ;

    -- function...


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

Viewing 15 posts - 361 through 375 (of 1,109 total)