all groups > sql server programming > december 2006 > threads for sunday december 10
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
Linked server error--Pls help
Posted by Mukut at 12/10/2006 9:23:10 PM
Hi all,
This is a very urgent requirement in our project. We are trying to
import data from excel file to a table. we are getting the following
error msg:
Cannot create an instance of OLE DB provider "Microsoft.Jet.OLEDB.4.0"
for linked server "(null)".
The query we have is as follows:
... more >>
Unhelpful error messages from IE7
Posted by C17 at 12/10/2006 9:22:49 PM
Hi,
I am using reporting services within a VB .NET program; that is, the reports
are hosted within a browser window within the program.
With IE6, when my program incorrectly passed the report parameters to the
report server, or some other error occurred, I would get a useful error
messag... more >>
xp_readmail
Posted by landers at 12/10/2006 9:21:05 PM
Hi All,
I need to read emails and parse the body to search for specific text. I
have got SQL Server setup to read emails, but I am unsure of the TSQL
required.
Has anyone got an example of how to read unopened emails and find specific
text in the body?
Cheers,
L
... more >>
User defined function hanging but continues to work after a reindex
Posted by jharalam NO[at]SPAM colesmyer.com.au at 12/10/2006 7:58:02 PM
I have a User Defined Function (fn_LoadSellIdStdPrcTbl)
Which as part of its code executes the following:
INSERT INTO @tblSellIdStdPrc (sell_itm_id,
bus_rgn_zn_cd,
sell_prc_amt)
SELECT si.sell... more >>
MS SQL Query Question
Posted by sty129 NO[at]SPAM gmail.com at 12/10/2006 6:39:43 PM
I have a question to do, but I have no idea how can I solve it. Can
anyone help me? Thanks!
John is RND department. He want to view his surordinates having taken
leave between 1 Jan 2006 and 31 March 2006. The list should has the
following information:
Section, Staff no., Leave Type, No. ... more >>
Help Selecting Min Value
Posted by Ron at 12/10/2006 3:02:00 PM
I have a table AllMin:
SKU HPC Sysco BJ Sweet
515110 $13.82 $26.25
515115 $2.31 $3.28 $2.65 $2.99
516110 $0.50
516120 $1.89 $2.35
516140 $1.99 $2.09 $2.19
And I want ... more >>
Query for current SQL 2000 server date
Posted by Mike Chung at 12/10/2006 11:19:00 AM
Need help on a query within DTS job.
Trying to retrieve data from database based on the current server date. Any
suggestions on how I can query/retrieve using the server's date as a
condition?
Ex.
Select * from table1
where dateopen = ?
dateopen = field column
field entry = 10/01... more >>
import list to tempdb table and run and update using TSQL?
Posted by hmchkus at 12/10/2006 6:39:32 AM
Hi,
I have a single column list of item that I want to import into tempdb
table. Which way is the simplest? don't want to use SISS(DTS).
Then I like to run a loop to compare each one of these items with a
table and delete some rows in an original table using TSQL
Is there an example tha... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Lock record for reading!
Posted by SqlBeginner at 12/10/2006 5:26:00 AM
Hi,
Is it possible to lock the record(s) to read by another user, while i am
reading the same record?
Regards
Pradeep
... more >>
Variables as Object names
Posted by Mike DeYoung at 12/10/2006 4:35:00 AM
Hi All,
My hair is growing thin on this...
Why do I get...
"Server: Msg 170, Level 15, State 1, Line 3
Line 3: Incorrect syntax near ')'."
On this script...
**********************************************
declare @begin_date INT, @end_date INT, @dbasetable VARCHAR (30)
SET @begin_date... more >>
Internally convert 0 to No, 1 to Yes, then display the result
Posted by User at 12/10/2006 2:10:17 AM
Hi
Let's say there is a field which stores 0 and 1. It represents No and Yes.
Is it possible to convert them to "No" and "Yes" then display to user
instead of displaying "0" and "1"?
Although it can be done on the client program/client scriptings, I'm
thinking of putting more of the log... more >>
help with delete
Posted by Chris at 12/10/2006 1:41:00 AM
Hi,
I have 2 tables with some common columns. What's the fastest way to delete
data from table a if data from table a exists in table b where table b.status
='Y'
TABLE A
ID, PROD,QTY
TABLE B
ID, PROD,STATUS
Thanks... more >>
Conditional statement
Posted by Niclas at 12/10/2006 1:20:28 AM
Hi,
Being new to SQL, I need to execute a select statement with a different
WHERE condition depending on a certain condition of a variable. Is it
possible to have conditions within a SELECT staments or do I need to
execute differet statements using IF BEGIN END ?
Niclas
*** Sent via ... more >>
allowing user interaction within transactions?
Posted by xamman at 12/10/2006 12:35:31 AM
in this scenario i would like to guarentee that at *the moment at of
purchase* i can offer the lowest price for precious metals to my
customers.
a table lowest_competitor_prices which is populated by a robot program
..
after leisurely browsing my goods, customer decides to buy & clicks on
ch... more >>
concatening strings in sql server
Posted by Roy Goldhammer at 12/10/2006 12:00:00 AM
Hello there
I have table of ID, ClientID, BusinessDescription
for example:
ID, ClientID, BusinessDescription
1 310648811 Computer Programmer
2 310648811 Computer Designer
3 310648874 Soldier.
I need to show it like this in fast way:
310648811 Computer Progr... more >>
Get result from a SP -> Combine with another select statement.
Posted by User at 12/10/2006 12:00:00 AM
Hi,
I have a SP which returns an Int.
I also have a Select statement.
Eg:
"Execute mystoredproc 123" returns an int. It will return
(xyz)
----
888
Next,
I have a Select Statement,
"select name, address, status from table1 where status=123"
The select statement will ret... more >>
|