Viewing 15 posts - 1 through 15 (of 17 total)
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')....
April 22, 2013 at 9:50 pm
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.
November 28, 2012 at 12:42 am
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.
November 27, 2012 at 10:46 pm
on way using Precedence constraints we can do that.
November 27, 2012 at 10:31 pm
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...
November 27, 2012 at 10:23 pm
Datatype for all the columns is nvarchar only.
we had such a requirement.
November 26, 2012 at 4:45 am
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...
July 13, 2012 at 4:12 am
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...
July 13, 2012 at 4:03 am
create table (id int,subid int)
begin transaction outerOne
insert into bitwise values(100,25)
begin transaction innerOne
insert into bitwise values(150,25)...
June 28, 2012 at 5:23 am
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
June 28, 2012 at 3:25 am
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
June 28, 2012 at 3:18 am
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.
June 27, 2012 at 6:29 am
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...
June 27, 2012 at 6:24 am
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
June 26, 2012 at 5:23 am
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...
June 26, 2012 at 4:47 am
Viewing 15 posts - 1 through 15 (of 17 total)