Viewing 15 posts - 6,031 through 6,045 (of 13,460 total)
Thanks Mark, but i think that won't quote work;
in the full table, i have more paths than just the "Program Files\Microsoft SQL Server" path example, many other paths might have...
Lowell
January 23, 2012 at 6:58 am
ahh didn't know you were in SQL 2000; didn't read the forum.
max has no practical limit, but is SQL2005 and above, sorry.
maxsize in SQL2000 is NVARCHAR(4000) for an NVARCHAR; and...
Lowell
January 20, 2012 at 2:02 pm
do you need the results on a per table command?
i've done something similar by building the string and executing it:
DECLARE @mycommand1 nvarchar(max);
SET @mycommand1=''
SELECT @mycommand1 = @mycommand1
+ N'DBCC...
Lowell
January 20, 2012 at 1:13 pm
durai nagarajan (1/20/2012)
This DB was not built by me. SQL 2005 DB.
Basics Employee code, name and certain things are encrypted in this DB.
None of the table has primary key,...
Lowell
January 20, 2012 at 11:08 am
Ninja's_RGR'us (1/20/2012)
Ehh, why not sum(case) ???
duh...err...no excuse. that's the right solution.
not thinking straight.
Lowell
January 20, 2012 at 11:00 am
we'd really need to see the DDL of the table that the data gets extracted from to offer more than a suggestion or prototype.
I'd create a view instead that joins...
Lowell
January 20, 2012 at 10:19 am
well i couldn't figure out what order you wanted via your example;
lets switch to real code so we can figure it out better.
does this do what you want? what's wrong...
Lowell
January 20, 2012 at 9:58 am
i just copied and pasted my quoted command, and tested it in both SQL2005 and SQL2008, and i got results with no errors at all.
I'm not sure where your issue...
Lowell
January 20, 2012 at 6:54 am
remember what case-Insensitive collations are used for: if i search for "apple' or "Apple" or "APPLE", i'd get results. that's perfect. now if i want to ORDER those results, i...
Lowell
January 20, 2012 at 12:49 am
sudhirnune (1/19/2012)
But for improving the Query Performance i need to Index the Table based on...
Lowell
January 20, 2012 at 12:16 am
you are all set buddy; the link and version i sent you works for 2005 and above, so that includes a 2005 to another 2005, if you were not...
Lowell
January 19, 2012 at 12:58 pm
While we are on the subject of things that annoy us but cannot control...
there are a pair of stop lights near my house that take entirely too long to...
Lowell
January 19, 2012 at 12:12 pm
kurtwest (1/19/2012)
Lowell
January 19, 2012 at 11:53 am
I just tested this by toggling my Sandbox database's compatibility level, and it does appear in the default trace;
it shows up as an ALTER DATABASE event, with the whodunnit information...
Lowell
January 19, 2012 at 11:23 am
if "using" means SELECT FROM that table, only way is by adding a trace so you can see who's selecting stuff from it;
for INSERt/UPDATE/DELETE, you could add a trigger which...
Lowell
January 19, 2012 at 9:55 am
Viewing 15 posts - 6,031 through 6,045 (of 13,460 total)