Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)

  • RE: Different in count of records.

    If we take specific column in the count function, its fine.

    But when i am using count(*), it showing difference.

    i found that in background one command is executing i.e.,

    DBCC checkDB('Databasename')....

  • RE: Import from multiple Flat and excel files in the same folder

    small example :

    right("D:\\filesource\\emp1.xls",3)=="xls"

    right("D:\\filesource\\emp1.txt",3)=="txt"

    mention this condition in precedence constraint to send text files to one destination and excel to other destination using same table in OLE DB.

  • RE: Import from multiple Flat and excel files in the same folder

    we can write a condition in precedence constraints like which type of file need to send.

    we can send that to same destination taking 2 OLE DB destination with same table.

  • RE: moving data into praraw table

    on way using Precedence constraints we can do that.

  • RE: moving data into praraw table

    If u r considering the name, then there should be 10 tables for those 10 files.

    Or else u need something other than this then mention clearly what exactly u r...

  • RE: Update null to unknown in a table for all the columns

    Datatype for all the columns is nvarchar only.

    we had such a requirement.

  • RE: is there any difference between dates

    its depends on the data type for that column.

    for example: If it is a datetime then it will not show much difference.

    or else if it is a nvarchar its...

  • RE: why can't we create a clustered index for the views.

    ya that's fine.

    if we create a view with schemabinding that will not allow us to make any changes to schema of any underlying tables and their columns.

    My ques is why...

  • RE: whether commited transaction will get rollback again

    create table (id int,subid int)

    begin transaction outerOne

    insert into bitwise values(100,25)

    begin transaction innerOne

    insert into bitwise values(150,25)...

  • RE: trimming a text string

    Hi,

    try this, may it works for u

    declare @string varchar(200)

    set @string = '\Beverages\Soda Pop\Mountain Dew'

    if CHARINDEX('\',@string,CHARINDEX('\',@string)+1)>0

    set @string= STUFF( @string , 1 , CHARINDEX('\',@string,CHARINDEX('\',@string)+1),'')

    else

    set @string= ' '

    print @string

  • RE: trimming a text string

    hi,

    try this, may its works for u.

    declare @string varchar(200)

    set @string = '\Beverages\Soda Pop\Mountain Dew'

    if CHARINDEX('\',@string,CHARINDEX('\',@string)+1)>0

    set @string= STUFF( @string , 1 , CHARINDEX('\',@string,CHARINDEX('\',@string)+1),'')

    else

    set @string = ' '

    print @string

  • RE: whether commited transaction will get rollback again

    i think in sql server 2008 we can rollback the committed transaction.

    but in server 2005 we can't.

    can anyone suggest me what will be reason.

  • RE: Execute java in Task

    i got this error when i tried this type of task.

    can anyone suggest me about the error?

    Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of...

  • RE: Data Delete issue

    Hi,

    Deleting the records by joining more than one table is not possible.

    for example:

    delete from EMP inner join dept

    on emp.deptno=dept.deptno and dept.deptno=50

    error:

    Incorrect syntax near the keyword 'inner'.

    thanks,

    kumar

  • RE: select 12^21

    Hi,

    its ^ (Bitwise Exclusive OR)

    Here is the small example using that operator.

    CREATE TABLE bitwise

    (

    A int NOT NULL,

    B int NOT NULL

    )

    INSERT bitwise VALUES (170, 75)

    select...

Viewing 15 posts - 1 through 15 (of 17 total)