Viewing 15 posts - 8,746 through 8,760 (of 13,460 total)
you'll want to use a case statement:
select
CASE
WHEN thumbid=0
THEN 'false'
ELSE 'true'
END as...
Lowell
September 14, 2010 at 11:36 am
i've been lucky, not having to do vb6 for a while as we switched over to .NET, so this is untested.
i think your issue is an error is raised (file...
Lowell
September 14, 2010 at 11:26 am
interesting use of a check constraint to make a table read only;
could there be a trigger on the table that is also preventing your modifications? depending on the loging in...
Lowell
September 14, 2010 at 10:51 am
in that case, if you cannot access the server's C:\Temp folder as in your example, you'll have to use some intermediate item...a vbscript, your own program, etc to connect to...
Lowell
September 14, 2010 at 10:17 am
for SQL 2005, you'll need to open the SQL Server Configuration Manager, i think:(not the Surface Area Config)

from there, you can assign which port the instance will listen to in...
Lowell
September 14, 2010 at 10:08 am
the server thinks C:\ drive is it's own drive....
to write to your PC, you need to use a UNC path:
\\YOURPCNAME\c$\ImageFolder
that might not work if the account that the SQL Service...
Lowell
September 14, 2010 at 9:48 am
as suggested,
don't assign the id until the end of the registration process....if they don't complete it, you don't save to the database; use a placeholder like ID: Pending if you...
Lowell
September 14, 2010 at 5:47 am
well, stating the obvious, it depends on what the trigger does;
triggers that are jsut sending emails because a new record was added can be replaced witha job that...
Lowell
September 14, 2010 at 5:41 am
i agree with Vivek; if the goal is to copy everything, there are easier ways to do it;
if the goal is to increase your experience with bcp, just as a...
Lowell
September 14, 2010 at 4:59 am
Brandie
It's been a while, but i thought at one point only the registered version fo WinZip has command line options? or is it a seperate application that comes with...
Lowell
September 14, 2010 at 4:52 am
====edit====
where is my jump to conclusions mat? i read like the first few words and made an assumption, sorry...
looking at your post in detail now...now i see it's why the...
Lowell
September 13, 2010 at 2:11 pm
nope, the font is not dynamically exposed either, even though a richtextbox is being used to display the data;
about the only thing you could do is use a try catch,and...
Lowell
September 13, 2010 at 1:36 pm
if you are talking about the color of the results in the message panel in SSMS, the only thing you can change is the font size and font type; the...
Lowell
September 13, 2010 at 1:16 pm
the convert finction has an optional parameter when you convert to varchar specifically for formatting things to dates;
you want to use the 112 format stype:
SELECT CONVERT(VARCHAR(35),@date,112)
in your specific example, it's...
Lowell
September 13, 2010 at 11:30 am
I am deeply relieved that I'm still able to do college level homework for people. We got an A!Sometimes, in the dark of the night, I second guess myself...
Lowell
September 13, 2010 at 9:52 am
Viewing 15 posts - 8,746 through 8,760 (of 13,460 total)