Viewing 15 posts - 961 through 975 (of 2,062 total)
I'm not familiar with DTS nor the "b" parameters.
I suspect that strList is passed as a string instead of a rowset/table. (for the in clause)
Like in ('abc,ddfdfqd,dfdfqdfe')
You can resort to...
March 18, 2009 at 1:41 pm
where does the come from?
March 17, 2009 at 7:41 am
*How to convert this Left([Field3],InStr(1,[Field3]," ")-1)
LEFT([FIELD3],PATHINDEX(' ',[FIELD3])-1)
*Right([Field3],(Len([Field3])-InStr(1,[Field3]," "))) & [Field4]
RIGHT(FIELD3,LEN(LEFT([FIELD3],PATHINDEX(' ',[FIELD3])-1))+[FIELD4]
(if FIELD4 is also character)
March 14, 2009 at 4:06 am
Nice point of view, luckily not all announcements are written is this way.
February 3, 2009 at 4:58 am
Really stupid things in my junior dba-years:
Dropping the wrong table in a 40gb database. Sure I'm on the testserver.
Update without where clause (where's my history table)
January 28, 2009 at 3:40 pm
You could recreate the view on the serverbackend and relink the view afterwards in Access.
This should be done whenever underlying datastructure changes, since views in sqlserver keep the definition of...
December 18, 2008 at 3:07 pm
You can union both results together
select EmpID
,LName
,FName
,Role
,FileID
,FileNo
,SectID
,AttyID
,FileName
,DateOpened
,Dept
,Status
,Desc
from employees
inner join files
on empid=sectid
union all
select EmpID
,LName
,FName
,Role
,FileID
,FileNo
,SectID
,AttyID
,FileName
,DateOpened
,Dept
,Status
,Desc
from employees
inner join files
on empid=attyid
order by empid
December 16, 2008 at 11:13 am
Is the table definition in Access updated?
December 16, 2008 at 11:03 am
Thanks for providing the sample data.
I didn't find anything odd in query analyzer (still the same 13 records)
Yet some notes:
*The view uses TOP 100 PERCENT
This can be removed as sorting...
December 11, 2008 at 2:52 pm
Could you post some sample data and the query to recreate the problem?
December 10, 2008 at 4:13 pm
Odd that adding an index would cause duplicate records to appear.
Sure that the query is built correctly?
December 9, 2008 at 3:07 pm
Hello,
I haven't coded in .Net since long.
Just some checks to narrow the problem area
Excel file imported:
Does the MessageBox.Show("The import is complete!", "Import File", MessageBoxButtons.OK shows up? (Excel file...
December 9, 2008 at 3:05 pm
Back again.
What works:
Allows: swapping in a single update
Disallows: swapping in 2 separate updates
Sample data devices:
pk 10 , sim 10
pk 20 , sim 20
Allowed:
update devices
set simid=sim
from devices
inner join
(
--setting multiple values...
December 9, 2008 at 2:35 pm
Cheers!
About the non-clustered index on device.simid.
By default, when you create a foreign key, sql server doesn't automatically add an index on both columns involved in the master-parent relationship (at least...
December 4, 2008 at 1:09 pm
Viewing 15 posts - 961 through 975 (of 2,062 total)