Viewing 15 posts - 16 through 30 (of 168 total)
The FROM part of your select query is starting with table name "desktop_other_d"
I guess this is causing an error
from (
desktop_other_d o
...
December 30, 2010 at 4:35 am
Maybe after the FROM (...) a table name is required
select
distinct(d.MAC_address) as MAC,
d.hostname, c.username,
substring(d.login_name,0,charindex('\',d.login_name)) as dom,
d.pc_make, d.pc_model, d.ip_address,
substring(d.login_name,charindex('\',d.login_name)+1, len(d.login_name)) as login_id,
d.os_name, d.service_pack, d.ram,
convert(varchar(19),d.system_uptime, 100) as...
December 30, 2010 at 2:22 am
You can check the https://connect.microsoft.com/[/url] web site where you can submit your feedback about various Microsoft products
Here is a list where many submitted their comments : https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=denali
December 24, 2010 at 4:49 am
For database attachment you map all data and log files in one screen.
Each db has at least one primary data files, and might have secondary data files.
When you select the...
December 24, 2010 at 3:10 am
Hi da-zero,
In the Setup support rules screen, were there any info useful?
Did you send the error report to Microsoft, perhaps using Connect you can give feedback about this error.
I installed...
December 24, 2010 at 2:56 am
My solution would be creating a stored procedure with table name as input parameter.
And within the SP, I would create a dynamic sql which will delete dublicate rows. You can...
December 13, 2010 at 12:53 am
Instead of using a Windows service, perhaps you can delegate this task to SQL Server Agent
SSIS can do the same job that your SP will do.
I believe SSIS will do...
December 6, 2010 at 12:04 am
For altering database mode from multi user mode to single user mode please refer to How to Alter a SQL Server Database as Single User Mode and as Multi User...
December 5, 2010 at 11:53 pm
Thanks alot Subbu for your feedback.
I hope to hear good news from you
December 5, 2010 at 11:48 pm
Hello Tim,
Sorry for misunderstanding
Here is an alternative script
CREATE FUNCTION udfSample
(
@STR nvarchar(400)
)
returns nvarchar(400)
begin
declare @i int, @j-2 int, @w nvarchar(400)
select @i = 1, @j-2...
December 2, 2010 at 11:32 pm
Hello,
I once created a general changed data logging mechanism and created dynamic triggers for that solution.
You can check the article Change Data Capture Structure for MS SQL Server 2005
There you...
December 2, 2010 at 8:33 am
Hello you an try the following split script
create table Exceptions (ShortText nvarchar(100))
insert into Exceptions values (
'QualificationsLength'),(
'DepthMustBeNumeric'),(
'HeightMustBeNumeric'),(
'WidthMustBeNumeric'),(
'DepthNotValid'),(
'HeightNotValid'),(
'QuantityIsMandatory'),(
'QuantityNotValid'),(
'WidthNotValid'),(
'FactorNotValid'),(
'DimensionNotNumeric'),(
'DimensionNotValid'),(
'StartDateEarlierThanCurrentDate'),(
'CostCodeIsMandatory'),(
'QuantityMustBeNumeric'),(
'InvalidRatioNumeric'),(
'MissingRatio')
select * from Exceptions
cross apply dbo.CaseSensitiveSQLSplitFunction(Exceptions.ShortText)
December 2, 2010 at 8:10 am
Hi Sridevi,
I hope you are looking for a solution like below
DECLARE @sql nvarchar(max)
DECLARE @server nvarchar(100) = N'hrad'
SET @sql = N'
Insert Into dbo.Server_Details_Table
select A.*
FROM
OPENROWSET (''SQLNCLI10'',...
December 2, 2010 at 6:59 am
CTE does not mean always a recursive query. But it is very powerful when recursive queries are required.
If your application require recursive process, then CTE is the first tool to...
December 2, 2010 at 6:53 am
Viewing 15 posts - 16 through 30 (of 168 total)