Viewing 15 posts - 5,446 through 5,460 (of 5,590 total)
... but if you REALLY wanted to emulate a char(1) field as you have done, you could just create your table like:
CREATE TABLE #MyTable
(
MyBooleanField char(1)...
April 23, 2009 at 10:44 am
No need to emulate... just use the BIT datatype. It is a boolean.
April 23, 2009 at 10:25 am
pedro.ribeiro (4/23/2009)
"Set nocount on" does this instructuction affects the error count (@@error) inside the stored procedure while it is executing?
Or the Set nocount on, only affects the...
April 23, 2009 at 10:23 am
yulichka (4/23/2009)
April 23, 2009 at 10:20 am
b_boy (4/23/2009)
If col A has a record like '%A' and col B is blank, then update col B with col...
April 23, 2009 at 10:17 am
You didn't provide enough information.
You need to add 375,000 rows, and you're concerned about having enough space.
So, you need to determine how much space each row will take in that...
April 23, 2009 at 10:11 am
anjana.maganti (4/23/2009)
i mena like using any fuction..
Anyways you...
April 23, 2009 at 10:07 am
anjana.maganti (4/23/2009)
April 23, 2009 at 9:40 am
I don't do a lot of VBScript programming, but from what I see:
1. your main routine never calls the DbaseUpd subroutine. I think before the conn.Execute line, you need a...
April 23, 2009 at 9:29 am
Ahh, didn't consider double-posting. I thought that I had posted that reply, but then I second-guessed myself and figured that I just didn't click the post button...
April 23, 2009 at 8:47 am
Try this:
declare @testdate varchar(50), @realdate datetime
set @testdate = 'Monday, January 28, 2008'
set @realdate = SUBSTRING(@testdate, CharIndex(', ', @testdate)+2, 50)
select @testdate, @realdate
April 23, 2009 at 8:41 am
Try this:
declare @testdate varchar(50), @realdate datetime
set @testdate = 'Monday, January 28, 2008'
set @realdate = SUBSTRING(@testdate, CharIndex(', ', @testdate)+2, 50)
select @testdate, @realdate
April 23, 2009 at 8:38 am
Dizzy (4/23/2009)
April 23, 2009 at 6:50 am
Does the whole procedure get executed only on the first day of the month, or is there some part of it that only gets executed on the first day of...
April 23, 2009 at 6:44 am
sandhya_vemulla (4/22/2009)
Is there any where to see which System table stores the definition of the RULE.
You are looking for the system view sys.all_sql_modules. Specifically the definition column.
April 22, 2009 at 7:47 pm
Viewing 15 posts - 5,446 through 5,460 (of 5,590 total)