all groups > sql server programming > july 2003 > threads for saturday july 5
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
EOF error in BCP
Posted by Jon Gudman at 7/5/2003 11:27:14 PM
hey all,
does any one know an effective way to "Error Handle"
an 'unexpected End Of File' in BCP using Tsql ?
it doesn't seem to return a error code and I'm not
familiar with a way to catch the SQL state return code.
I prefer not using Bulk Insert in this case.
anybody ?... more >>
NEWBIE NEED HELP
Posted by KELVINFUN at 7/5/2003 8:33:15 PM
I got a huge table which store horse information, the
table look like this:
Date Horse Weight Distance Point
20030529 B 115 1800 99
20030601 A 130 1600 95
20030601 B 121 1200 100
20030605 A 115 1200 100
20030609 B 111 1600 101
2... more >>
NEWBIE NEED HELP
Posted by kelvinfun at 7/5/2003 8:32:24 PM
I got a huge table which store horse information, the
table look like this:
Date Horse Weight Distance Point
20030529 B 115 1800 99
20030601 A 130 1600 95
20030601 B 121 1200 100
20030605 A 115 1200 100
20030609 B 111 1600 101
2... more >>
Does RANK and weightage goes hand in hand
Posted by Abhijeet Raje at 7/5/2003 4:30:05 PM
Hi,
ranking is determined by a formula that accounts
for the frequency of the word in the document/row compared with the
frequency of the
word occuring in all documents/rows weighted against the total number of
unique
non-noise words in your catalog.
Does this means that if I have fulltext ... more >>
Oracle 8. The service OracleTNSlistener80 can't start.
Posted by Enric at 7/5/2003 2:10:46 PM
Hello; I have a problem with an Oracle 8 D.B. over WIN2000 server (SP4); i
can't start the service: OracleTNSlistener80, the message that I reveive is:
The sistem don't return any error code. It may be a Windows internar error
or an Oracle error.
¿Can anybody help me ?
Many thansk
ege@... more >>
CONTAINSTABLE v/s FREETEXT
Posted by Abhijeet Raje at 7/5/2003 12:52:28 PM
Hi All,
I have one table Customers in Northwind database.
While performing FreeText search I want to give weightage ON Columns for
a searched phrase.
CompanyName weight (1) ContactName weight
(.7)
ContactTitle weight (.5) ... more >>
Detecting Largest Movers
Posted by Anthony at 7/5/2003 11:35:10 AM
I have a table that I populate with users homedrive information everyday the
fields I put in it are
USERID, FULLNAME, MBSIZE, LOCATION, THEDATE
id2,John Smith, 1400, \\file01\homedir\id2,7/5/2003
id3,John Doe, 1200, \\file01\homedir\id2,7/5/2003
....
I am currently just showing the data wher... more >>
how to show image retrieved from BLOB on the web page
Posted by George lucas at 7/5/2003 11:10:39 AM
Hi,
Does anyone know how to retrieve binary image data from
BLOB column of SQL database table and show it on the web
page. I know "img src=" tag can be directed to an image
file(.gif, jpeg). But how to program this tag for
streamed data, such as retrieved BLOB streamed data
through ADO i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Check for locked record
Posted by basidati at 7/5/2003 10:00:24 AM
How can i check if the record i want to select is already locked by
another user? There is a way to know the resource id associated with the
record in a table and compare that with those shown by the sp_lock?
thanks
--
Posted via http://dbforums.com... more >>
Triggers and importing data
Posted by Przemo at 7/5/2003 9:53:58 AM
Hi again;)
I have a table with columns ID, A and B. There is a trigger for
update and insert, which modifies column B when A is
changed (i use IF UPDATE(A)).
When I import from a table in Access (containg only
columns ID and A), after whole operation column B remain
unchanged. Anybody know... more >>
How to switch off transactions?
Posted by Przemo at 7/5/2003 9:46:09 AM
I update a very large set of records. This is not critical
operation and it takes a lot of time. Also transaction log
grows very hudge. Is it possible to switch off transactions for
this operation (or for any other stored procedure)? Nothing
will heppen when some records will not be updated.... more >>
HELP ME : check for locked record
Posted by basidati at 7/5/2003 8:59:36 AM
How can i check if the record i want to select is already locked by
another user? There is a way to know the resource id associated with the
record in a table and compare that with those shown by the sp_lock?
thanks
--
Direct access to this group with http://web2news.com
http://web2news.com... more >>
Selecting Date
Posted by Ramesh at 7/5/2003 5:42:19 AM
hi,
In my database my date field having date and time info.
But for selecting records i am passing only date value (No
time). I am using following comparision
cast(convert(varchar,DateField,101) as datetime) >= cast
(Convert(varchar,''' + @FromDate + ''' ,101) as datetime)
Any other b... more >>
Cannot execute dynamic query in stored procedure
Posted by Net at 7/5/2003 4:21:49 AM
Hi,
I'm using ADO.NET to execute a stored proc. The stored proc contains a
dynamic sql which will build the INSERT or UPDATE statement for execution at
the end of the stored proc.
I've a line that does some dummy inserts into a table before executing that
dynamic sql, like
exec ('INSERT... more >>
HowTo Select an ID where a "Date" is between startDate and endDate?
Posted by Andreas Klemt at 7/5/2003 1:06:36 AM
Hello,
I have this table
ID startDate endDate
-------------------------------
1 04/01/2003 07/30/2003
2 08/01/2003 09/30/2003
3 02/11/2004 04/15/2004
How can I get the ID when I give in my SELECT a DATE to find out if this
DATE is between
startDate and endDate?
... more >>
|