Viewing 15 posts - 30,796 through 30,810 (of 59,101 total)
siva 20997 (3/9/2012)
CREATE Function [dbo].[Get_MyDate]( @dDate DateTime ) Returns DateTime
AS
begin
declare @mDate DateTime,@m1 Int,@m2 Int,@d1 Int
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 10, 2012 at 9:21 am
Heh... must be the web browser that you're using. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 10, 2012 at 9:13 am
siva 20997 (3/10/2012)
That is what the AND Operator does
Just to be clear... AND does no form of division. You may be able to emulate it with division but I...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 10, 2012 at 9:09 am
BWAA-HAA!!! One link coming right up, fellas!
[font="Arial Black"]Click here for requested link[/font]
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 8:53 pm
The OP also said he was using DECIMAL. I understand the bit values being used but I didn't want people to mistake what you said for being limited to...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 8:45 pm
Your use of all caps for column names would indicate that you might be trying to do this in Oracle. Are you using SQL Server or Oracle for this?...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 8:43 pm
siva 20997 (3/9/2012)
AND ing with whatever (in this case 32) is the correct way
However doing that seems to be...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 9:24 am
Once you've downloaded the splitter function from the bottom of the article that Mark pointed you to, you would solve the problem as follows...
--===== Declare the variables and preset them...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 7:06 am
My favorite of all time free tools... GOOGLE.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 6:10 am
I'd save on the headache by changing the datatype in the table to INT. I might even add some computed columns to the table to split out the individual...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 6:08 am
rmelgarca (3/8/2012)
I was able to use the unpivot command but only with one column not translated.
What I did after that was to join it to the original table...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 9, 2012 at 5:45 am
Ever considered using T-SQL BULK INSERT with a format file?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 9:07 pm
weston_086 (3/8/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:53 pm
Sean Lange (3/8/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:39 pm
Gianluca Sartori (3/8/2012)
Eugene Elutin (3/8/2012)
I wouldn't too, if my database would continuously change the language settings during the day...😀 You made my day!
I can go home happy now!
Spaghetti and Porkchops...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 8, 2012 at 8:37 pm
Viewing 15 posts - 30,796 through 30,810 (of 59,101 total)