Viewing 15 posts - 4,126 through 4,140 (of 5,590 total)
@Lynn - I was wondering how you were going to answer this one - you did a superb job!
May 28, 2010 at 1:08 pm
Because you're trying to do it as an integer...
You need to convert put it in a string to convert it to smalldatetime. Try:
set MyField = convert(char(8), 19000101)
May 28, 2010 at 11:21 am
Hi J,
It really does help to have some test data to work against. See the first link in my signature for how to do this.
But, to help you out, here...
May 28, 2010 at 11:00 am
For me, programming computers is my passion. There are other things that I enjoy, but this is my passion. I can't imagine doing anything else.
It does have its downsides......
May 27, 2010 at 9:07 pm
Use a table-valued delimited-split function, with a cross apply, to handle this. The tvf returns the individual parts of the passed-in string as a table.
First, if you don't have the...
May 27, 2010 at 7:43 pm
jcrawf02 (5/27/2010)
Jack Corbett (5/27/2010)
jcrawf02 (5/27/2010)
Paul White NZ (5/27/2010)
Dave Ballantyne (5/27/2010)
May 27, 2010 at 7:33 pm
Paul White NZ (5/27/2010)
Well unless it really upsets you, I'd like to decide where to spend those dollars 😛
So, if it does upset me, then you'll go ahead and buy...
May 27, 2010 at 7:25 pm
jcrawf02 (5/27/2010)
Paul White NZ (5/27/2010)
Note to self: avoid PeopleSoft.You have four too many letters on the end there.
LOL
May 27, 2010 at 7:15 pm
The Dixie Flatline (5/27/2010)
May 27, 2010 at 3:38 pm
Check out the two links in my signature for CROSS-TABS and PIVOTS.
If you still need help, check out the first link in my signature.
May 27, 2010 at 2:54 pm
Good going Lutz. I completely missed that he specified one column with CSV output... Thanks!
May 27, 2010 at 2:28 pm
This little bit of code makes a dynamic table of the possible strings, then gets the next one from what is passed in.
declare @test-2 varchar(4)
set @test-2 = 'AAZ'
-- See Jeff...
May 27, 2010 at 2:24 pm
cmckenzie-656927 (5/27/2010)
May 27, 2010 at 1:56 pm
Check out this link for how to add to the "My Places" bar on the left side of the open/save as dialog box. Note that the instructions are for SSMS...
May 27, 2010 at 1:48 pm
Paul White NZ (5/24/2010)A full-text index is the same, storage-wise, as any other non-clustered index. The parent object has an entry in sys.internal_tables, and the DBCC commands can be...
May 27, 2010 at 1:03 pm
Viewing 15 posts - 4,126 through 4,140 (of 5,590 total)