Viewing 15 posts - 1 through 15 (of 17 total)
If that is the case, then how do applications that use DSN connections connect to a ODBC datasource without entering a SQL Server password?
Also, is there then no way to...
January 18, 2006 at 3:36 pm
When I add the -U test_user to the osql command, I get an error message saying "Login failed for user test_user". I do not understand why it is not able...
January 18, 2006 at 3:19 pm
I do not want to connect with a trusted connection (-E option). I want to use the test_user SQL Server login and test_pwd SQL password. Thanks for responding.
January 18, 2006 at 2:58 pm
Try "SELECT rtrim(Employer), date from table_name ORDER BY rtrim(Employer), date"
January 18, 2006 at 12:52 pm
Thank you all for your responses. I have been working on this for a few days now based on the responses I have got. I think I need to clarify...
September 9, 2005 at 10:11 am
Thank you all for your responses. From the links sent by Carl Federl (part II), I believe it is possible to make the trigger not abort the transaction by issuing...
September 2, 2005 at 12:42 pm
The Mirror table has a primary key constraint. When we try to insert two records with the same primary key ID in the mirror table, it generates an error. I...
September 1, 2005 at 1:22 pm
I am running the Package on my local SQL Server. Why am I not seeing any Msgbox? Since this is only a test, I will remove the MsgBox when I...
June 30, 2004 at 8:35 am
There is a inbuilt function called XMLElement in DataDirect Query Builder for XML that does what I want. So, I wrote my own UDF that woudl do the same thing. But, I am not sure...
June 28, 2004 at 9:30 am
After you have given you first update statements give a second update statement with a select CASE like this
Update enrolltemp
set region = C.REGION
from Enrolltemp E, COUNTY_LISTING C
join Enrolltemp ON enrolltemp.[Case...
June 25, 2004 at 12:57 pm
Try this:
DECLARE @tablename char(12), @procedure varchar(1000)
set @tablename = 'Groupings'
set @procedure = 'declare @retval int; select @retval = count(*) from ' + @tablename + '; select @retVal'
exec(@procedure)
The Exec command does not...
June 25, 2004 at 12:44 pm
I worked around the issue by using a combination of COALESCE and NULLIF...Here is how.
@Some_String_Variable + COALESCE(NULLIF('<Telephone>' +
COALESCE(@PhoneNumber, '') + COALESCE(@PhoneExtn, '') + '</Telephone>', '<Telephone></Telephone>'), '') + @SomeOther_String_Variable
If @PhoneNumber is...
June 25, 2004 at 12:13 pm
I think I found the solution! Here is what I found in the books online:
"When you concatenate null values, either the concat null yields null setting of sp_dboption or SET...
June 24, 2004 at 1:00 pm
Thanks for the reply. My problem is that I have about 50 or 60 such tags to create and I do not want to declare so many variables and define...
June 24, 2004 at 12:44 pm
I guess there is no connection between my subject and message in my previous post. I need to create a T-SQL statement that works like this
iif(@EmployeePhone is NULL, NULL,
June 24, 2004 at 12:25 pm
Viewing 15 posts - 1 through 15 (of 17 total)