Viewing 15 posts - 6,601 through 6,615 (of 7,168 total)
Technically you do not need the DLL at all, even in the first place. When you build and deploy a SQL CLR project from Visual Studio the assembly is serialized...
April 20, 2011 at 2:50 pm
I agree, but I would choose to use ORIGINAL_LOGIN() instead of SUSER_SNAME() to provide for cases when impersonation is employed.
April 20, 2011 at 2:35 pm
A cross-tab query should do what you need, PIVOT will too, although cross-tabs are generally accepted as the better performer. Here is a great article explaining and comparing the two:...
April 20, 2011 at 2:25 pm
Grant Fritchey (4/20/2011)
Stefan Krzywicki (4/20/2011)
opc.three (4/20/2011)
Stefan Krzywicki (4/20/2011)
April 20, 2011 at 2:14 pm
What about something along these lines?
SET DATEFORMAT MDY ;
DECLARE @date DATETIME ;
SET @date = '2011-03-01 13:10:29.817' ;
SELECT CONVERT(VARCHAR(30), @date, 101) +
RIGHT(CONVERT(VARCHAR(30), @date, 0), 7)...
April 20, 2011 at 11:54 am
Nic-306421 (4/20/2011)
Hi Jason,Spot on, it does contain a BLOB column, I'll read through the link and code you provided and then implement that.
Indeed, nice catch!
April 20, 2011 at 11:11 am
Syed Jahanzaib Bin hassan (4/20/2011)
and use this new JDBC driver 2.0 by...
April 20, 2011 at 10:30 am
I am not sure how you can figure out whether your process is 32 or 64 bit.
I'm thinking it could be as simple as launching Task Manager and examining the...
April 20, 2011 at 10:27 am
jallmond (4/20/2011)
In this MSFT article, it clearly states that the x64 client also installs the 32-bit binaries.
That's the same article I linked to above.
So my present understanding is that the...
April 20, 2011 at 9:57 am
Nothing personal...I do have qualifications, I just don't display them on my shirt sleeve (or in my forum signature). What's in a qualification anyway?
April 20, 2011 at 9:41 am
Syed Jahanzaib Bin hassan (4/20/2011)
April 20, 2011 at 9:28 am
From MSDN http://msdn.microsoft.com/en-us/library/ms131321.aspx
The x64 and Itanium versions of sqlncli.msi also install the 32-bit version of SQL Server Native Client.
You can run processes in 32-bit mode on a 64-bit server. In...
April 20, 2011 at 9:19 am
Here's how I usually do it:
SELECT SYSTEM_USER -- should show me
EXECUTE AS LOGIN='login_to_test' -- allows me to impersonate the test login's security context
SELECT SYSTEM_USER -- should show login_to_test
-- test the...
April 20, 2011 at 9:16 am
Syed Jahanzaib Bin hassan (4/20/2011)
April 20, 2011 at 9:08 am
Stefan Krzywicki (4/20/2011)
April 20, 2011 at 9:01 am
Viewing 15 posts - 6,601 through 6,615 (of 7,168 total)