Viewing 15 posts - 5,971 through 5,985 (of 13,468 total)
halifaxdal (2/7/2012)
February 7, 2012 at 12:18 pm
since this is a named instance and not the default instance, I'm sure it is using dynamic ports, which will NOT be 1433.
to make it easier, i'd recommend changing...
February 7, 2012 at 12:09 pm
the existing data has trailing spaces; converting the column to varchar does not auto-trim the existing data.
now if you run our original update statement, you should see the difference.
February 7, 2012 at 11:18 am
fawadafr (2/7/2012)
Thanks for the feedback. I tried executing the following SQL statement but was unable to change the field type.
ALTER TABLE [dbo].[document_control] MODIFY COLUMN [doc_path] [varchar](256) NULL
Could you please help...
February 7, 2012 at 10:46 am
well the matching RTRIM function will remove trailing spaces...so i think you want something like this:
UPDATE [dbo].[document_control]
SET [doc_path] = LTRIM(RTRIM([doc_path]))
February 7, 2012 at 10:21 am
2008 R2...is that 64 bit?
if it is, you have to use 64 bit MYSQL drivers in order to create a linked server.
that would be one more thing to double check....if...
February 7, 2012 at 9:53 am
it's gotta start with the basics, i think:
since its an express instance, is the checkbox for allow remote connections checked? maybe via the Configuration?


next, and probably the most...
February 7, 2012 at 8:35 am
Joy Smith San (2/7/2012)
I connected to one of the server and and detached one database.
After that I was not able to do anything is SQL Server as the detached...
February 7, 2012 at 4:15 am
Jared may be right...start with the basics...
here's the proc from a thread on the subject; it's idea for setting up your mysql linked server:
http://www.sqlservercentral.com/Forums
--http://www.sqlservercentral.com/Forums/Topic340912-146-1.aspx
CREATE PROC uspCreateLinkToMySQLDB @linkedservername varchar(50), @mysqlip varchar(50),...
February 6, 2012 at 2:52 pm
can you create a view on top of the staging table tat would type the data into the same matching types as the production data?
then you could binary checksum the...
February 6, 2012 at 2:35 pm
Sean Lange (2/6/2012)
February 6, 2012 at 11:48 am
Damian-167372 (2/6/2012)
thanks a lot for your information ..
I also hard coded the script with app name something like...
February 6, 2012 at 11:03 am
Gazareth (2/6/2012)
Ha, so basically, what Gail said... 😀
awfully easy to change if you know what to look for:
:

February 6, 2012 at 9:19 am
because you are using string compare (the LIKE)
whitespace is important...if you look at your data, there is a preceeding space before every number...so your join criteria is limited to matching...
February 6, 2012 at 7:58 am
naw, it's pretty easy to review all the procs, even when they are encrypted...it's really just "obfuscation", so it just requires a couple of extra steps to see the code...
February 6, 2012 at 6:40 am
Viewing 15 posts - 5,971 through 5,985 (of 13,468 total)