Viewing 15 posts - 48,226 through 48,240 (of 59,095 total)
I've not written any non-TSQL in quite a bit... however, when I did, I wasn't opposed to using someone else's example to get the job done. Take a look...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:24 pm
Ummm... will that create the sub-directory if it doesn't already exist?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:11 pm
Heh... just reverse the IDENTITY number...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:09 pm
lduvall (9/19/2008)
I figured it out on my own! In fact, I used the article Matt posted...
That's good feedback... thanks. I always wonder if articles like that help folks. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:08 pm
tbeadle (9/11/2008)
Concatenating strings is no problem but you may have to get a bit creative to avoid the limitations on text lenghts.
Look at the spec difference between varchar's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:04 pm
Search for "CASS CERTIFICATION" software... it does the whole thing from womb-to-tomb and provides updates as new address information comes available from the US Postal Service. I believe "ZP4"...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 5:02 pm
b_boy (9/19/2008)
sorry guys but my own syntax worked perfect for me, tried yours but got incorrect results....
If you used a conversion to group by date, then you probably did it...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 4:56 pm
arbarnhart (9/19/2008)
Jeff Moden (9/19/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 8:56 am
p.s. I also want to say that when I say "developers", I'm talking about the greater populous... there are some individual developers that I'm NOT including in my rant,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 8:28 am
Heh... most of the companies that have hired me to fix things, have rooms full of developers that hate "old style DBA's" or think they know things like what Agile...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 8:17 am
A very hearty congratulations! This is really cool feedback and you need to be very proud of yourself, as well! Yes, the information is here and there are...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 19, 2008 at 6:09 am
rbarryyoung (9/18/2008)
Declare @sql as NVarchar(MAX)
Set @sql = ''
Select @sql = @sql + 'EXEC sp_refreshview ''['
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 10:40 pm
It's even easier than that...
SELECT *
INTO #MyFiles
FROM OPENROWSET('SQLOLEDB','Server=(local);Trusted_Connection=Yes;Database=Master',
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 10:33 pm
Much simpler than all that... check out the ROUND function or the STR function (which also right justifies if you need that for a report or file). 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 10:27 pm
Heh... and the PIVOT operator is slower and uglier than the CrossTab that Chris showed. Think not? Check it out...
http://www.sqlservercentral.com/articles/T-SQL/63681/
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 10:26 pm
Viewing 15 posts - 48,226 through 48,240 (of 59,095 total)