Viewing 15 posts - 1,426 through 1,440 (of 3,543 total)
I'm using 2k5 at sp2... and there's no "Summary" selection in the "View" menu... has anyone actually tried this?
I belive it was changed in SP2.
Right click on the database,...
February 25, 2009 at 7:11 am
Thanks Jack... lotta tension on this side, lately, and I had to make sure I wasn't tuggin' on a friend's chain.
Phew! Jeff 😀
Thought you were trying to poke the...
February 25, 2009 at 6:39 am
OK. Maybe there are trailing non printable chars as well, should have thought of that :blush:.
Try
LIKE '%WDT%'
February 23, 2009 at 7:23 am
You need to do
LIKE '%WDT'
not
LIKE 'WDT%'
February 23, 2009 at 7:01 am
And this should correct the data....
UPDATE #tablename
SET colname = STUFF(colname,1,1,'')
WHERE colname LIKE '%WDT'
AND colname <> 'WDT'
February 23, 2009 at 6:54 am
I would do the following to find the offending values
SELECT colname,CAST(colname as varbinary(5))
FROM tablename
WHERE colname LIKE '%WDT'
AND colname <> 'WDT'
February 23, 2009 at 6:50 am
Good article, as usual, Jeff 🙂
You sure know how create these long threads 😉
p.s. Keep banging that drum, they'll either get it or go deaf :hehe:
January 27, 2009 at 2:14 am
SELECT j.[name],
CAST(STUFF(STUFF(CAST(jh.run_date as varchar),7,0,'-'),5,0,'-') + ' ' +
STUFF(STUFF(REPLACE(STR(jh.run_time,6,0),' ','0'),5,0,':'),3,0,':') as datetime) AS [LastRun],
CASE jh.run_status WHEN 0 THEN 'Failed'
...
January 12, 2009 at 9:35 am
You need to match your data against a dataset of 24 hours, something like this
SELECT DATEPART(Year,a.dev_time) as [Year],
DATEPART(Month,a.dev_time) as [Month],
DATEPART(Day,a.dev_time) as [Day],
n.Number AS [Hour],
COUNT(a.tdm_msg) AS [Total_Incoming_Vehicles]...
December 18, 2008 at 6:58 am
And Jeff makes a good point too. Not enough of you guys get credit for posting knowledge...
Hear, hear. 🙂
But I think we all owe thanks to folks like Jeff...
November 27, 2008 at 6:55 am
guess I'd have to argue that developers are sometimes even more arrogant than the DBA
Ouch! :pinch:
November 6, 2008 at 6:35 am
Wayne West (10/29/2008)
October 29, 2008 at 9:35 am
Wayne West (10/16/2008)
select left(Address, charindex(' ', Address) -...
October 29, 2008 at 6:39 am
ramesh.tce (9/8/2008)
I also have same issue.Can anyone help me to export data from sql sever to the temp file in sever using bcp? in c#.netThanks
If you are using c# in...
October 13, 2008 at 3:47 am
Viewing 15 posts - 1,426 through 1,440 (of 3,543 total)