Viewing 15 posts - 16 through 30 (of 137 total)
Are you trying to get the error message details given by system stored procedure sp_displayoaerrorinfo into a variable?
November 11, 2007 at 12:34 pm
You can either first create a table and do a
insert into (cols) select... or select into * from (select)
--uncomment following line if executing second time in same...
November 1, 2007 at 7:27 am
I certainly agree with Jeff and normalization is the solution.
Mine was just a work around.
October 22, 2007 at 3:55 am
See attached script, which contains one way of doing it
October 20, 2007 at 10:50 am
Context is not clear. See whether following helps
If you just want to store only the language name then can't you just use the varchar datatype and store the culture...
October 19, 2007 at 7:20 am
Can't you use suser_sname() system function ?
October 18, 2007 at 3:53 am
You can create a function something like below
--==========================================
CREATE FUNCTION dbo.fnGetCurrencyRate
(
@p_year int,
@p_translation_code varchar,
@p_business_unit varchar
)
RETURNS decimal(27,10)
AS
BEGIN
-- Declare the return variable here
DECLARE @m_value decimal(27,10)
SELECT @m_value = CASE MONTH(GETDATE())
...
October 18, 2007 at 3:42 am
It depends on what users want to do with the excel sheet.
If they just want to see the data in excel sheet, you can see alternatives I or II
otherwise see...
November 25, 2004 at 10:26 am
I am not sure sql * server allows you to use alias to calculated/normal columns in the where clause.
One alternative is to repeat the calculated column expression in the where...
November 18, 2004 at 8:01 am
Try the following example. It is similar to the one in the original problem. I am trying to write to a log table for each insert. You can run it...
November 18, 2004 at 6:48 am
Just thought following might help in resolving your problem
When a statement with in sp executes in sql server, and there is a error, whether the next statement will execute or...
November 17, 2004 at 2:47 am
It could be due to the fact that the default SET OPTIONS that are set when you connect via query analyzer
and via ODBC.
It looks like in your case the specific...
January 12, 2004 at 4:11 am
sp_prepexec does two things
1. Prepares the Stored procedure execution plan
2. Executes the stored procedure
Now the first step usually takes some time depending on the complexity...
August 7, 2003 at 10:58 pm
As you are saying, there is a user table which maintains security information.
Hence one alternative is as follows.
In Login.Asp Page
- Let us say user details are...
August 5, 2003 at 6:28 am
Viewing 15 posts - 16 through 30 (of 137 total)