Viewing 15 posts - 481 through 495 (of 583 total)
The money type has four decimal places, so to ensure no data loss numeric(10,4) would be more appropriate.
June 10, 2009 at 9:22 am
good to hear it helps. But keep in mind that the code I provided will only convert 0-9 from MCS to decimal and will only show results for up to...
June 10, 2009 at 9:17 am
since it is an INT datatype a direct conversion is not possible be sql server does a conversion from into to datetime as the value of days since 1900-01-01.
--today's date...
June 9, 2009 at 3:23 pm
First of all what data type is START. varchar, int, datetime? It will depend on the answer.
June 9, 2009 at 2:29 pm
You shouldnot need to convert the value to smalldatetme if the format is yyyymmdd. sql server will recognize that string as a date.
June 9, 2009 at 2:20 pm
What a see from brief glance is that you are trying to update a column that doesn't exist. p_top is not a column in #t_q table. Loginname is not...
June 9, 2009 at 2:11 pm
Here is an article on how to enable SSL encryption on SQL server
June 9, 2009 at 11:07 am
this probably isn't the most elegant of solutions and without any test data or table structures i came up with what could be a starting point for you. I did...
June 9, 2009 at 10:00 am
A simple google search may get you the information you want or at least the information to form a specific question.
June 9, 2009 at 8:18 am
Can you post execution plan of the query? I would assume that since you use date as criteria for your query but do not have an index on that column,...
June 3, 2009 at 1:11 pm
don't know if this will work for you but...
exec xp_cmdshell 'bcp "select sid from master.sys.syslogins" queryout c:\bcpout.txt -T -c';
go
create table sidtemp([sid] varchar(255));
go
exec xp_cmdshell 'bcp master.dbo.sidtemp in c:\bcpout.txt -T -c';
go
select *...
June 1, 2009 at 8:39 am
I assume the single location will be a database so why the need to convert the value to a string? Why not just leave it as varbinary?
I only ask this...
June 1, 2009 at 7:45 am
perhaps this will help. It is quite what you are looking for but may be of value.
http://www.sqlservercentral.com/scripts/SID/62274/%5B/url%5D
I must ask, what would you need the actual sid value for?
May 29, 2009 at 3:23 pm
following the steps below should allow you to attach your database but may not be sufficient for what you need it for as there may be data loss.
1) create new...
May 19, 2009 at 1:25 pm
Viewing 15 posts - 481 through 495 (of 583 total)