Forum Replies Created

Viewing 15 posts - 16 through 30 (of 86 total)

  • RE: Date conversion

    That helped a lot all.

    Thanks

    Pat

  • RE: Date conversion

    Hi,

    I just need to get date on the report and the column is datetime format

    select tdate from table

    but the result i get back is Jul 5 2009 12:00

    but on...

  • RE: blcoked processes

    Hi,

    I got that which SPID is blocking but I need to have see the Process that is running or TextData

    Thanks

    Pat

  • RE: SQl Backup

    it says:

    Msg 170, Level 15, State 1, Line 3

    Line 3: Incorrect syntax near '+'.

  • RE: create text file straight from Query and overright it everytime

    I tried but it only creates value and then says this:

    DECLARE @FileName varchar(50),

    @bcpCommand varchar(2000)

    SET @FileName = REPLACE('E:\temp\result_'+CONVERT(char(8),GETDATE(),1)+'.txt','/','-')

    SET @bcpCommand = 'bcp "select top...

  • RE: create view problem

    here is the whole table and view scenario

    create table table1

    [pid] [int] IDENTITY(1,1) NOT NULL,

    [num] [int] NULL,

    [flag] [int] NULL,

    [tp_id] [int] NULL,

    [fe_id] [int] NULL,

    [sym] [int] NULL,

    [nvarchar](256) NULL,

    [lbl] [nvarchar](256) NULL,

    [sname] [nvarchar](256) NULL,

    [fname]...

  • RE: create view problem

    oh yes sorry it took me while to understand.. but the view does have other columns which could ne text, as well. What is the solution?

  • RE: create view problem

    it is only numbers and integer it does not contains text!!

    numbers from 1 to atleast 55000

    Thanks

  • RE: create view problem

    ok,

    I tried creating new view. View created fine but now when i try to create index on the column it give me this error.

    create unique clustered index idx on vw1(col1);...

  • RE: Creating indexed views

    ok,

    Now i understand. but i changed the view now useing this

    creaet view v1 as schemabinding as

    select t1.name1, t2.name2

    from

    bdname.dbo.table2 t2 join dbo.table1 t1 on t1.id = t2.id

    and i get this error....

  • RE: Creating indexed views

    I can access the same table with select from query but when i try to create indexed view it gives me error for remote server.

    but with simple views it works...

  • RE: run SSIS with config file

    thanks for the respose.

    I have this pacakge which process excel fiel and after it processed it moves file to archive. i have about 5 variables like sourcefolder, filepath, filename, archfolder,...

  • RE: SSIS PACKAGE EXECUTION IN 64 BIT MECHINE

    i used command based on the stp and it wored fine.

  • RE: SSIS Problem

    also it is for each file enumerator.

  • RE: SSIS Problem

    it's a for each look container in SSIS package. and i passed variable (fn) for filename to property of varaible mapping. and in general i passed the locatoin of the...

Viewing 15 posts - 16 through 30 (of 86 total)