Viewing 15 posts - 50,251 through 50,265 (of 59,078 total)
Implicit conversions will take care of it all... no formatting is necessary...
DECLARE @SomeDateCol DATETIME
SET @SomeDateCol = '06-Sep-2008'
SELECT @SomeDateCol
May 27, 2008 at 5:16 pm
Numeric primary key... Holiday date can appear more than once depending on things like Country or State.
May 27, 2008 at 5:13 pm
... and let's not forget what everyone else forgets... Delete Triggers and Indexed Views... they will certainly take a toll on performance, as well.
May 27, 2008 at 5:06 pm
Ummm... BCP can execute an "EXEC" as part of that query...
May 27, 2008 at 4:50 pm
Almost the same size as the tables I deal with at work...
Tell me... what identifies a "user"... the PH column?
May 27, 2008 at 6:35 am
Even though we all, including the OP, recognize that this is a terrible requirement, has anyone actually come up with a solution that shifts the data left without resorting it?...
May 27, 2008 at 6:28 am
Those are great questions, Phil... Now, all I have to do is find someone that knows how to get the current system date and time without using a GUI! ...
May 27, 2008 at 6:20 am
Outstanding! Good luck with your tests! It's a worthy cause! I'd be interested in the results of your tests. I don't know how to write CLR's,...
May 27, 2008 at 6:09 am
GilaMonster (5/27/2008)
May 27, 2008 at 6:05 am
Sangeeta Satish Jadhav (5/27/2008)
--Step 1:create table to insert data from file
Create Table TmpTbl
(Column names
)
--Step 1: Build Valid BULK INSERT Statement
Set @FilePath = 'c:\test.txt'
EXEC Master..xp_fileexist @FilePath, @File_Exists OUT
IF...
May 27, 2008 at 6:02 am
pduplessis (5/27/2008)
Imagine selling csv burgers at the next microsoft launch....
c - chips
s - soda
v - viennas
Maybe we have a hit here that will feed a lot of developers and make...
May 27, 2008 at 5:59 am
No SSMS in 2k... no reporting service in 2k. Could be, it's a simple text report created by a scheduled job... makes a "great" presentation layer for those that...
May 26, 2008 at 11:04 pm
Francis... you already have the hardpart done... if the Quarter = 1 then show the column, otherwise show a blank. Simple case statement should do it.
May 26, 2008 at 10:15 pm
Viewing 15 posts - 50,251 through 50,265 (of 59,078 total)