Viewing 15 posts - 7,336 through 7,350 (of 13,459 total)
i htink you also need a backup of master just in case;
I thought the CREDENTIAL for any database mail username/pass used for the AUTH command are in master, and i...
Lowell
June 23, 2011 at 1:13 pm
ok, BULK insert's about a zillion times easier to use than SSIS.
your original table definition that you posted is missing two columns that appear in your data, country, and selection...
Lowell
June 23, 2011 at 11:31 am
CrLf is CHAR(13) + CHAR(10), i think you have the order reversed, so it's not finding anything.
REPLACE(Col011, CHAR(13) + CHAR(10) , ' ') AS Expr2
Lowell
June 23, 2011 at 8:41 am
Ninja's_RGR'us (6/23/2011)
Ah!, nice new sigh Lowell :w00t:
Thanks! i got inspired by seeing at least three recent threads with that same theme.
Lowell
June 23, 2011 at 8:39 am
gotcha, so in a disaster recovery scenario like that, where the mdf was damaged/lost, you would not be able to do a tail backup...
all you can do is restore the...
Lowell
June 23, 2011 at 8:35 am
instead of a trigger, i strongly recommend a scheduled job that migrates the data to the linked server.
if the linked server cannot be connected to(due to username/password, networking issues, or...
Lowell
June 23, 2011 at 8:31 am
if you deleted the mdf file, you had to have stopped the server to do it...so when you restarted the server, didn't the database show an error? did you recreate...
Lowell
June 23, 2011 at 8:24 am
here is how i would do it:
1.add a new float column to the table.
2.UPDATE table set newcolumn = convert(float,oldcolumn) where isnumeric(oldcolumn) =1
3. the columns that were non-numeric willb e null.....do...
Lowell
June 23, 2011 at 8:22 am
if the path will be less than 4 folders deep, you could use a trick with PARSENAME:
/*
(No column name)(No column name)(No column name)(No column name)
NULLMY ReportsLotusNotes OkMy English Report
*/
SELECT
PARSENAME(ThePath,4),
PARSENAME(ThePath,3),
PARSENAME(ThePath,2),
PARSENAME(ThePath,1)
FROM
( SELECT...
Lowell
June 23, 2011 at 8:15 am
chandan_jha18 (6/23/2011)
When i right click on the table and see dependencies, it shows me stored procedures or views depending on it. Is it a correct and reliable way?
it's pretty close...
Lowell
June 23, 2011 at 7:56 am
i would think that a replacement role like this would give a user the rights they need to create objects and do any DML stiff, but take away the ability...
Lowell
June 22, 2011 at 9:49 am
i just renamed a foreign key no problem...
sp_rename 'FK__SFPLGRP__SFGROUP__000BC426','FK_SFPLGRP_to_SFGROUP'
Lowell
June 22, 2011 at 9:35 am
the FIRST function is an access function, and doesn't have a true equivilent in SQL server...the best you can do is TOP 1...ORDER BY
Lowell
June 22, 2011 at 9:32 am
for me "read only activity" means SELECT from views or tables; and more specifically, no INSERT/UPDATE/DELETE/EXECUTE rights to anything else in
the database.
maybe i can get you at least started...
Lowell
June 22, 2011 at 9:14 am
since you are using access, those are two different queries;
the GO statement is valid for SQL Server;
each of the two queries needs to be saved separately...been a while since i...
Lowell
June 22, 2011 at 4:42 am
Viewing 15 posts - 7,336 through 7,350 (of 13,459 total)