Viewing 15 posts - 7,936 through 7,950 (of 13,460 total)
i believe the alpha symbol would require an NCHAR column, and nnot a char; the alpha is in the extended ascii character set.
March 15, 2011 at 5:32 am
well an open transaction is not a bad thing.
a running process could take a lot of time to finish; so in general, you do nothing at all when there is...
March 15, 2011 at 5:28 am
i believe binary must be converted to nvarchar, right? so the conversion to varchar is failing?
select distinct
CONVERT(NVARCHAR(100), h.HRCHY_ID, 1) fConvert,
CAST(h.HRCHY_ID AS NVARCHAR(100)) fCast
from...
March 14, 2011 at 2:18 pm
you posted in a SQL 2000 forum...are you stuck with SQL 2000, or are you in SQL 2005 or above?
if you Are in 2005 or above, what is your...
March 14, 2011 at 1:58 pm
take a look at this article: by selecting columns aliases as html tag names like TD and getting the data as xml, this technique seems to work really well for...
March 14, 2011 at 12:17 pm
with 2005 and above, this got a lot easier; there are DMV's that have the connecting IP address now;
here's an example:
--the auditing snippet below works fine in a...
March 14, 2011 at 12:10 pm
well, here's the data in consumable format...i'll try to look again at what you are asking, but i used up all my brain power converting your post to something usable....
with...
March 14, 2011 at 11:20 am
for reference though, the format is not too difficult: it's INTO #Tablename just before the first from
SELECT
ColumnList
INTO #TMP
FROM ATable
JOIN OtherTables ON ...
UNION
SELECT columnList
FromBTable
March 14, 2011 at 11:04 am
Sossoliso (3/14/2011)
March 14, 2011 at 9:27 am
yeah, i think that's the issue; the value passed, when it comes in as a string, is not guaranteed to be in the format you are expecting:
to_date(:StartDate,'MM/DD/YYYY hh24:mi:ss')
if StartDate...
March 14, 2011 at 9:07 am
I sat thru a Webinar on SQL server ; the presenter was raving about how Twitter was the best thing to learn about SQL, so easy to ask a question,...
March 14, 2011 at 8:49 am
if you use parameters instead of constructing the strings, that issue would go away, but you can doe the fix with a little bit of REPLACE magic, i think.
you need...
March 14, 2011 at 8:35 am
spin (3/14/2011)
just got my head around all of the responses.
so...It turns out i was running trigger to email on our test system which doesn't have the correct permissions to truncate...
March 14, 2011 at 8:21 am
i believe if the login CREATED a view, by default, it is it's owner, and thus can alter or drop the objects it creates.
if you want the login to be...
March 14, 2011 at 8:13 am
damn i knew this and didn't remember it; I'll blame it on caffiene deficiency.
you'll want to stop and start the instance in single user mode
sqlservr.exe -m -s SQLEXPRESS
March 14, 2011 at 8:06 am
Viewing 15 posts - 7,936 through 7,950 (of 13,460 total)