|
What PC? The server or a client?
A webbrowser cannot access the hardware on the client, that would be a security-issue.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
so what should i do now.....????
|
|
|
|
|
Verify that the technical limitation I named actually exists, then find a workaround or an alternative. Better yet, make a list, naming merits and expected problems for each; make prototypes of the best two ideas.
To get you started; you could opt to write a browser-addin (for each type of browser you want to support) that acts as an intermediate, or, you'd write a client-side application (think WinForms/WPF) that provides the same functionality.
The latter will sound like a bad idea to your professor; then again, it would not only be the correct approach; you'd end up with a finger-print protected password-manager. Would not require a dedicated server, as it could run completely (!) on the client. There's no risk in me loosing data, as all my sensitive data never has to leave the client-machine. And best of all, you wouldn't need Google's cooperation to provide the functionality and being able to claim to support GMail.
If you take the latter approach, then you might also want to look up the strategy-pattern. It would be nice if the password-manager also supports other ways of authenticating/authorizing.
That would be targetting a shrinkwrap-application. If your course requires you to write an enterprise-level application, you'd need the first approach.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
thnks....eddy....the all i have to do now...is to think upon some new concept....
|
|
|
|
|
You're welcome
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi All,
I have an SSRS report when we export it to excel, it is exporting in 4 different tabs rather in one tab, I want it to be exported to one excel tab.
I have set the Disabled property in Page break to =IIF(Globals!RenderFormat.Name = "EXCELOPENXML" OR Globals!RenderFormat.Name = "EXCEL", true, false) but still no help.
I even tried the following also =IIF(Globals!RenderFormat.Name = "EXCELOPENXML" OR Globals!RenderFormat.Name = "EXCEL", false, true)
=IIF(Globals!RenderFormat.Name = "CSV" OR Globals!RenderFormat.Name = "EXCELOPENXML" OR Globals!RenderFormat.Name = "EXCEL", true, false) still no luck
Can anybody please help me in this regard? I need some help any link, suggestion or code snippet any help would be really helpful.
Thanks in advance.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
modified 1-Apr-15 12:27pm.
|
|
|
|
|
HI,
How to restart the SQL Server instance?
|
|
|
|
|
|
Hi,
I have follow the steps:-
To restart an instance of SQL Server
In Registered Servers or Object Explorer, right-click the server instance you want to restart, and then click Restart.
A message box asks whether you are sure you want to restart SQL Server on the server instance you chose.
Click Yes.
A green arrow on the icon next to the server name indicates that the server restarted successfully.
Still it not restarted???
|
|
|
|
|
Have you checked the event logs on the server? maybe the issue is something else
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I am going to create dynamic temp table
and I am looking for the columns available in that temp table for the same session id.
you can refer code below for the same.
ALTER procedure abc
as
create table #tmp_table
(id int , name varchar(450) )
select c.* ,t.name from tempdb.sys.columns c
INNER JOIN tempdb.sys.tables t
on c.object_id = t.object_id
where t.name = '#tmp_table'
drop table #tmp_table
return 0
|
|
|
|
|
From this article[^]
Quote: Another oddity of the local temporary table (and the local temporary stored procedure) is that it has a different name in the metadata to the one you give it in your routine or batch. If the same routine is executed simultaneously by several processes, the Database Engine needs to be able to distinguish between the identically-named local temporary tables created by the different processes. It does this by adding a numeric string to each local temporary table name left-padded by underscore characters. Although you specify the short name such as #MyTempTable, what is actually stored in TempDB is made up of the table name specified in the CREATE TABLE statement and the suffix. Because of this suffix, local temporary table names must be 116 characters or less. If you remove the where from your code you will see that the table name is actually
#tmp_table__________________________________________________________________________________________________________000000000002 So you do need to use a like clause but not the one you have commented out. Like this
where t.name LIKE '#tmp_table%'
|
|
|
|
|
That will return all copies of that temporary table for all sessions. Filtering by object_id would probably work better.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yep - good point
|
|
|
|
|
instead of separate where condition use the condition in join statement only
select c.* ,t.name from tempdb.sys.columns c
INNER JOIN tempdb.sys.tables t
on (c.object_id = t.object_id
and t.name = '#tmp_table');
|
|
|
|
|
Same problem will apply for the same reason I gave earlier - the table name does not equal '#tmp_table' so for this suggestion to work the ON clause will need to have
and t.name LIKE '#tmp_table%'
or
and t.object_id = OBJECT_ID('tempdb..#tmp_table') (Credit to @Richard Deeming)
|
|
|
|
|
Try filtering by object_id :
select c.* ,t.name from tempdb.sys.columns c
INNER JOIN tempdb.sys.tables t
on c.object_id = t.object_id
where t.object_id = OBJECT_ID('tempdb..#tmp_table')
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I learn something most days, got my 5!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
thanks .. It's working fine..
|
|
|
|
|
HI,
EveryBody
I am getting the following error when trying to do a contains search on an indexed table:
Msg 30046, Level 16, State 1, Procedure sp_fulltext_service, Line 163
SQL Server encountered error 0x80070218 while communicating with full-text filter daemon host (FDHost) process. Make sure that the FDHost process is running. To re-start the FDHost process, run the sp_fulltext_service 'restart_all_fdhosts' command or restart the SQL Server instance.
when i run the sp_fulltext_service 'restart_all_fdhosts' command, i get the same error as shown above.
|
|
|
|
|
Did you restart the SQL Server instance?
|
|
|
|
|
You're still getting this error four years after you first posted it?
I am getting the following error when trying to do a contains search on an indexed table:
Msg 30046, Level 16, State 1, Procedure sp_fulltext_service, Line 163
SQL Server encountered error 0x80070218 while communicating with full-text filter daemon host (FDHost) process. Make sure that the FDHost process is running. To re-start the FDHost process, run the sp_fulltext_service 'restart_all_fdhosts' command or restart the SQL Server instance.
select * from table1 where contains (MyText, 'fire')
i checked to see and my index service is running, it is also using "Local Account" to run (same as the SQL Server Agent)
when i run the sp_fulltext_service 'restart_all_fdhosts' command, i get the same error as shown above.
Edited by - xrum on 09/15/2011 09:52:27
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
sniff sniff ... methinks there is the odour of urine extraction around here somewhere. He's had me for a sucker
|
|
|
|
|
Wow did you remember this from the first time he asked? Elephant something (in the original use of the word)
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
No, my memory's not that good!
It just came up on a Google search for the error message.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|