Viewing 15 posts - 3,511 through 3,525 (of 13,462 total)
db042188 (5/8/2013)
May 8, 2013 at 6:10 am
no it will not step on the existing drivers/installation, it forces a side by side install instead, so both the 32 bit and the 64 bit are installed and available...
May 8, 2013 at 5:59 am
there is a very similar issue when adding linked servers for Excel;
I tripped over this before , where Office 32 bit was installed on my server, and you get in...
May 8, 2013 at 5:35 am
ok here's a slightly modified version, showing exactly your problem, with a text field that must be converted;
i had to generate fake data, and assume a table structure, because you...
May 7, 2013 at 2:11 pm
Neeraj Dwivedi (5/7/2013)
Lowell, he has mentioned in first post that The primary key combination for the destination table is "ROBumber + ROTime" .
agreed, but if he auto generates an overlapping...
May 7, 2013 at 1:28 pm
i f he's inserting into a constraint, and one of the new generated values happens to be the same as an existing value, i'd expect an error;
for example, just based...
May 7, 2013 at 1:11 pm
yeah the server roles would need to be scripted as a separate step;
this is what I have saved in my snippets for doing exactly that, if it helps;
SELECT 'EXEC...
May 7, 2013 at 10:58 am
your xml was not well formed, so i couldn't use it as an example to show you:
you will have to convert(xml,YourTEXTColumn) to use this logic;
here's a couple of ways:
DECLARE @xml...
May 7, 2013 at 10:42 am
I'd recommend using MicroSoft's sp_help_revlogin instead; it simply produces a script you can run in a few seconds;
there's different versions, depending on SQL 2000 vs 2005 and up,...
May 7, 2013 at 10:20 am
for the filename stuff, somewhere abovee your code, you need to construct the filename:
declare @attachmentfilename varchar(100)
SET @attachmentfilename = REPLACE(CONVERT(VARCHAR,GETDATE(),101),'/','')
-- formats 05/07/2013 and removes slashes to 05072013
+ 'Attachement.xml'
...
May 7, 2013 at 9:46 am
sure hope we can help, it's honestly very satisfying to help someone eliminate a cursor when possible.
ok, you've got a cursor, and it's doing something...SELECTING and matching with your WHERE...
May 7, 2013 at 8:54 am
not directly like that, no.
If you have a stored procedure that returns data, you can insert it into a temp table, and have the cursor go through THAT.
no, adding a...
May 7, 2013 at 7:13 am
i create a a view for every trace i create; it's just much easier to access.
from there, i can group the data however i need to, since it's just an...
May 7, 2013 at 5:56 am
my first guess looks pretty good;
just using row number, and joining the data against itself:
WITH MySampleData
AS
(
SELECT row_number() OVER(partition by date order by date,time,seqno) AS RW,
*
from #tmp...
May 7, 2013 at 5:49 am
niladri.primalink (5/7/2013)
thanks for your reply. I need to check how many times my query has been modified and from which IP as the users are using the same user...
May 7, 2013 at 5:40 am
Viewing 15 posts - 3,511 through 3,525 (of 13,462 total)