Viewing 15 posts - 6,721 through 6,735 (of 13,469 total)
I went down the rabbit hole pretty deep investgating this; kind of interesting.
this code project example compares teh first 10 bytes to determine the image file type.
if you can add...
September 21, 2011 at 2:52 pm
untested, but syntax wise in vb.NET it looks like i can take any binary data, try to stick it in a "System.Drawing.Image", and if there's no error, do a Save...
September 21, 2011 at 2:37 pm
Charlottecb (9/21/2011)
September 21, 2011 at 2:21 pm
i think you have to script the jobs out; as i remember it, the msdb rows refer to the server name, so if the "new" server is not named...
September 21, 2011 at 1:38 pm
here's some .NET code i posted from a different post on the same issue;
you can use it as a model if you have the file name and binary data together,...
September 21, 2011 at 1:22 pm
is the original file name saved in the row of data with the ID and the varbinary data? if you don't have the filename ,(which implies the image type),or at...
September 21, 2011 at 1:11 pm
the constructor allows only literal strings, not a variable, so
ENCRYPTION BY PASSWORD =@var fails,
ENCRYPTION BY PASSWORD ='static string' is good
so i think you'll have to switch to dynamic...
September 21, 2011 at 12:56 pm
I'm not sure i would even consider restoring master at all.
the only items of any importanceto me are the following:
1. Server Logins and their permissions.
2. Linked servers. definitions and...
September 21, 2011 at 12:23 pm
is the data integer data type or strings?
so the value 24701 is 2:47:01 (am?)
152205 would be a valid value and 15:22:05 or 3:22:05 pm?
something like this may be...
September 21, 2011 at 12:11 pm
a lot depends on your data; that cross join can have a cost.
if your data is anything like my copies of the US Census to 90% firstnames/lastnames, a cross...
September 21, 2011 at 8:26 am
(: Hakuna Matata 🙂 (9/21/2011)
Can we rollback if we use truncate command??? I dont think we can rollback since truncate command does not generate any logs.
try it yourself.
ALL transactions can...
September 21, 2011 at 8:11 am
hint # 1 the number of rows don't matter...testing it yourself goes a lot farther education-wise than asking and getting an answer....
hint # 2 when can you use or not...
September 21, 2011 at 7:37 am
Express12 (9/21/2011)
Lowell - worked perfectly. thanks!
you did everything right, thank you! excellent explanation, sample code of what you tried, gave me everything i needed to build a testable, working example.
good...
September 21, 2011 at 7:06 am
sounds like row number will give you exactly what you need:
SELECT
ACCT,
ROOM,
CUST,
REGION,
LASTUPDATEDATECORP
FROM
(SELECT
ROW_NUMBER() OVER(PARTITION BY...
September 21, 2011 at 6:35 am
you could get it from the execution plan, if it was in the cache.
it's not easy, as xQuery's a little difficult, but it's in there.
September 21, 2011 at 6:27 am
Viewing 15 posts - 6,721 through 6,735 (of 13,469 total)