WCF-SQL notification and SQL Change Data Tracking - incompatible?
Hi,
I have a DB with Change Data Tracking enabled on a particular table. Each time an Update/Insert is made on this table, I'm able to check what need to be synchronised with other systems by using the CHANGETABLE function of SQL Server.
And I want to use it with a Receive location WCF-SQL with inboundOperationType=Notification. So each time a modification is made on the table, I have a notification and I'm able to retrieve the updated/inserted records.
Unfortunately, it seems that using the CHANGETABLE is not supported in the NotificationStatement, I got the following error: "The notification callback returned an error. Info=Invalid. Source=Statement. Type=Subscribe.".
Any ideas to workaround?
Thanks.
Hi Johns-305,
Thank you for your response.
I'm not totally agreed with you about the notification because it depends on the situation.
In my case, I have a table in a remote SQL database where data are not changing often. But I want to retrieve the changes as fast as I can because it needs to be synchronised with a MDM.
The notification is great for me because I get a notification message just after a change and I can synchronise it. Of course, if my receive location is down I can't receive the notification but with the mechanism described in the MSDN article you pointed,
I can get the changes I missed during the outage.
And now I have a solution to use the notification and the Data Change tracking: I use a regular SELECT statement in the notification statement (SELECT <columns> FROM MYTABLE). If something changes in the table, I got a notification and then I send
a SELECT FROM CHANGETABLE(MYTABLE, ...) and I store the number of the last modification I got. So I can retrieve only the changes that occurs since my previous call.
Similar Messages
-
Hi
-when i install default instance MSSQLSERVER i added a domain account as a service account,
- when i change port for TCPIP PORT , and after sql service and sql agent service did not started again.
it thrown error
The SQL Server (MSSQLSERVER) service failed to start due to the following error:
The service did not start due to a logon failure.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
but when i add domain\sqservice account in administrators group these services started,
1) here why this change behavior happened
2i changed the port 1500
adilHI
the sql instance service is running with domain/sqlservice account ,
- i stopped the sql service service
- when i start it not started again and i found below error message
Domain and account: MOJPORTAL\spsqlservice
This service account does not have the required user right "Log on as a service."
User Action
Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this.
If this computer is a node in a cluster, check that this user right is assigned to the Cluster service account on all nodes in the cluster.
If you have already assigned this user right to the service account, and the user right appears to be removed,
check with your domain administrator to find out if a Group Policy object associated with this node might be removing the right.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7041</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2015-04-24T17:12:58.326973300Z" />
<EventRecordID>2177</EventRecordID>
<Correlation />
<Execution ProcessID="520" ThreadID="4044" />
<Channel>System</Channel>
<Computer>PORTALSQL1.mojportal.com</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">MSSQL$xSQL</Data>
<Data Name="param2">xxxL\spsqlservice</Data>
</EventData>
</Event>
adil -
SQL Report not showing data - available in SQL Workshop and SQL Developer
I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
Thanks
FreddieCould you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
Freddie -
Can SQL 2000 and SQL 2005 drivers co-exist in PI?
Hi,
Currently in our PI environment, we have JDBC Adapter connections to SQL 2000 database servers for which the Driver has already been installed.
For connecting to new SQL 2005 database servers, I understand that we have to install the SQL 2005 drivers. I also came to know that SQL 2005 Driver is backward compatible and supports JDBC connection to SQL 2000 server.
But the question I have is whether both the SQL 2000 and SQL 2005 drivers can be installed together in a way that connection to SQL 2000 use the 2000 driver and the connection to 2005 uses 2005 Driver.
(They have different connection strings)
Many thanks in advance,
Regards,
Rosie SasidharanThe SQL Server 2005 JDBC driver is far better than the SQL Server 2000 JDBC driver. The 2005 JDBC driver primarily consists for one file, sqljdbc.jar. ( if you want to use windows authentication there is another file you would need based on your platform x64 vs x86 called sqljdbc_auth.dll. If in the connect string you list ;integratedSecurity=true which means integrated security would be used and this second file would be required. The 2000 driver did not support integrated security.
The SQL 2000 JDBC driver was made up of the 3 jar files:
msbase.jar,mssqlserver.jar and msutil.jar.
If you want to use a Microsoft JDBC driver to connect to SQL Server 2005, than you should use the 2005 driver, sqljdbc.jar.
Follow the instructions in point 1 of the note #831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter questions 1 and 13.
Since the jar are different I assume you can use the both drivers, but it doesnt make sense. -
SQL%FOUND and SQL%NOTFOUND
Hi,
My friend asked me this question.
Why we hav these two attributes?SQL%FOUND and SQL%NOTFOUND
One will always be the opposite of the other.So one will suffice our need, no?
Thanks..declare
print varchar2(32);
begin
delete
from scott.emp
where empno = 1000;
if ( SQL%FOUND ) then
print := 'found';
else
print := 'not_found';
end if;
if ( SQL%NOTFOUND ) then
print := print||' and not_found';
else
print := print||' and found';
end if;
dbms_output.put_line(print);
delete
from scott.emp;
if ( SQL%FOUND ) then
print := 'found';
else
print := 'not_found';
end if;
if ( SQL%NOTFOUND ) then
print := print||' and not_found';
else
print := print||' and found';
end if;
dbms_output.put_line(print);
delete
from scott.emp;
if ( SQL%FOUND ) then
print := 'found';
else
print := 'not_found';
end if;
if ( SQL%NOTFOUND ) then
print := print||' and not_found';
else
print := print||' and found';
end if;
dbms_output.put_line(print);
rollback;
end;
not_found and not_found
found and found
not_found and not_foundIt seesm that one is allways the opposite of the ather one. There are no exception.
Bye Alessandro -
Modify SQL#4 and SQL#5 DDL Model Defaults
Hi,
on FSCM 9.1 , tools 52.0 on Win 2008 server;
to force statistics gathering in AE we should do :
6. Modify SQL#4 and SQL#5 DDL Model Defaults for Oracle Platform to enable option force when updating
Recommended in :
RED_PAPER_-_PeopleSoft_Enterprise_Performance_on_Oracle_11g_Database.pdf
Can you be kind and tell us how to find them (SQL#4) ?
Thank you.The DDL models are under
PeopleTools > Utilities > Administration > DDL Model Defaults
Select the Oracle platform from the search, and you should get a scroll with 5 rows. Rows 4 and 5 should begin with DBMS_STATS.GATHER_TABLE_STATS
You can also consider downloading the following tool from Oracle Support:
pscbo_stats - Improving Statistics in Oracle RDBMS for PeopleSoft Enterprise [ID 1322888.1]
See PeopleSoft Database Update Statistics for more information.
Regards,
Bob -
I have created a execut sql task -
In that, i have a created a 'empidvar' variable of string type and put sqlstatement = 'select distinct empid from emp'
Resultset=resultname=0 and variablename=empidvar
I have added data flow task of ole db type and I put this sql statement under sql command - exec emp_sp @empidvar=?
I am getting an error.
[OLE DB Source [1]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.
[SSIS.Pipeline] Error: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC02092B4.shouldnt setting be Result
Set=Full Resultset as your query returns a resultset? also i think variable to be mapped should be of object type.
Then for data flow task also you need to put it inside a ForEachLoop based on ADO.NET recordset and map your earlier variable inside it so as to iterate for every value the sql task returns.
Also if using SP in oledb source make sure you read this
http://consultingblogs.emc.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
SQL Inseting a Set Of Data To Run SQL Queries and Produce a Data Table
Hello,
I am an absolute newbie to SQL.
I have purchased the book "Oracle 10g The Complete Reference" by Kevin Loney.
I have read through the introductory chapters regarding relational databases and am attempting to copy and paste the following data and run an SQL search from the preset data.
However when I attempt to start my database and enter the data by using copy and paste into the following:
C:\Windows\system32 - "Cut Copy & Paste" rem **************** onwards
I receive the following message: drop table Newspaper;
'drop' is not recognised as an external or internal command, operable programme or batch file.
Any idea how one would overcome this initial proble?
Many thanks for any solutions to this problem.
rem *******************
rem The NEWSPAPER Table
rem *******************
drop table NEWSPAPER;
create table NEWSPAPER (
Feature VARCHAR2(15) not null,
Section CHAR(1),
Page NUMBER
insert into NEWSPAPER values ('National News', 'A', 1);
insert into NEWSPAPER values ('Sports', 'D', 1);
insert into NEWSPAPER values ('Editorials', 'A', 12);
insert into NEWSPAPER values ('Business', 'E', 1);
insert into NEWSPAPER values ('Weather', 'C', 2);
insert into NEWSPAPER values ('Television', 'B', 7);
insert into NEWSPAPER values ('Births', 'F', 7);
insert into NEWSPAPER values ('Classified', 'F', 8);
insert into NEWSPAPER values ('Modern Life', 'B', 1);
insert into NEWSPAPER values ('Comics', 'C', 4);
insert into NEWSPAPER values ('Movies', 'B', 4);
insert into NEWSPAPER values ('Bridge', 'B', 2);
insert into NEWSPAPER values ('Obituaries', 'F', 6);
insert into NEWSPAPER values ('Doctor Is In', 'F', 6);
rem *******************
rem The NEWSPAPER Table
rem *******************
drop table NEWSPAPER;
create table NEWSPAPER (
Feature VARCHAR2(15) not null,
Section CHAR(1),
Page NUMBER
insert into NEWSPAPER values ('National News', 'A', 1);
insert into NEWSPAPER values ('Sports', 'D', 1);
insert into NEWSPAPER values ('Editorials', 'A', 12);
insert into NEWSPAPER values ('Business', 'E', 1);
insert into NEWSPAPER values ('Weather', 'C', 2);
insert into NEWSPAPER values ('Television', 'B', 7);
insert into NEWSPAPER values ('Births', 'F', 7);
insert into NEWSPAPER values ('Classified', 'F', 8);
insert into NEWSPAPER values ('Modern Life', 'B', 1);
insert into NEWSPAPER values ('Comics', 'C', 4);
insert into NEWSPAPER values ('Movies', 'B', 4);
insert into NEWSPAPER values ('Bridge', 'B', 2);
insert into NEWSPAPER values ('Obituaries', 'F', 6);
insert into NEWSPAPER values ('Doctor Is In', 'F', 6);You need to be in SQL*Plus logged in as a user.
This page which I created for my Oracle students may be of some help:
http://www.morganslibrary.org/reference/setup.html
But to logon using "/ as sysdba" you must be in SQL*Plus (sqlplus.exe). -
Powershell / SQL Inventory and last backup date Skips some servers?
Good Morning experts... I have a text file with a list of servers.. I am trying to automate a script that scans through them all and checks all databases to ensure everything is getting backed up... It works great (I copied the guts of the script from here,
I think and modified it so I could "Learn"). The only problem I have is some of the servers report an error saying can not connect and bypasses it. After the script is over, I can go back and query that single server and it responds correctly..
Has anyone else come across anything like that? I will include the script I have been using.. if you had 100+ servers to support with MULTIPLE instances on each how would you do it?
<#####################################################################
# Get All instances and Date of last Full / Log Backup of each
######################################################################>
#region Variables
$TextFileLocation = "C:\serverlist.txt"
$intRow = 1
$BackgroundColor = 36
$FontColor = 25
#endregion
#Region Open Excel
$Excel = New-Object -ComObject Excel.Application
$Excel.visible = $True
$Excel = $Excel.Workbooks.Add()
$Sheet = $Excel.Worksheets.Item(1)
#endregion
#Go through text file one at a time
foreach($instance in Get-Content $TextFileLocation)
$Sheet.Cells.Item($intRow,1) = "INSTANCE NAME:"
$Sheet.Cells.Item($intRow,2) = $instance
$Sheet.Cells.Item($intRow,1).Font.Bold = $True
$Sheet.Cells.Item($intRow,2).Font.Bold = $True
for ($column =1; $column -le 2; $column++)
$Sheet.Cells.Item($intRow, $column).Interior.Colorindex = 44
$Sheet.Cells.Item($intRow, $column).Font.ColorIndex = $FontColor
#Increase Row count by 1
$intRow++
#Create sub-headers
$Sheet.Cells.Item($intRow,1) = "Name"
$Sheet.Cells.Item($intRow,2) = "LAST FULL BACKUP"
$Sheet.Cells.Item($intRow,3) = "LAST LOG BACKUP"
#Format the column headers
for ($col = 1; $col -le 3; $col++)
$Sheet.Cells.Item($intRow,$col).Font.Bold = $True
$Sheet.Cells.Item($intRow,$col).Interior.ColorIndex = $BackgroundColor
$Sheet.Cells.Item($intRow,$col).Font.ColorIndex = $FontColor
#Finished with Headers, now move to the data
$intRow++
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | Out-Null
# Create an SMO connection to the instance in servers.txt
$s = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $instance
$dbs = $s.Databases
foreach ($db in $dbs)
if ($db.Name -ne "tempdb")
if($db.LastBackupDate -eq "1/1/0001 12:00 AM")
$fullbackupdate = "Never Backed Up"
$fgColor = "red"
else
#$fullBackupDate= "{0:g2}" -f $db.LastBackupDate
$fullBackupDate = $db.LastBackupDate
$Sheet.Cells.Item($intRow, 1) = $db.Name
$Sheet.Cells.Item($intRow, 2) = $db.LastBackupDate #$fullBackupDate
if ($db.RecoveryModel.Tostring() -eq "SIMPLE")
$logBackupDate="Simple"
else
#See Date Above..-eq is same as =
if($db.LastLogBackupDate -eq "1/1/0001 12:00 AM")
$logBackupDate="Never"
else
#$logBackupDate= "{0:g2}" -f $db.LastLogBackupDate
$logBackupDate = $db.LastLogBackupDate
$Sheet.Cells.Item($intRow, 3) = $logBackupdate
$intRow ++
$intRow ++
$Sheet.UsedRange.EntireColumn.AutoFit()
cls
Am I going about this the correct way, or is there a "Better" way to do this that I have not come across yet?
Thank youSorry JRV... I will put more of an example here.
I want to do an inventory of all our our instances and verify if they are being backed up correctly, I just wrote a script to test:
$TextFileLocation = "C:\servers.txt"
foreach($instance in get-content $TextFileLocation)
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | Out-Null
$s = New-Object ("Microsoft.SqlServer.Management.SMO.Server") $instance
$dbs = $s.Databases
foreach($db in $dbs)
$location = $db.Name
$logBackupDate = $db.LastLogBackupDate
if($db.RecoveryModel.Tostring() -eq "SIMPLE")
Write-host "$s - $location - SIMPLE Recovery"
elseif($db.RecoveryModel.ToString() -ne "SIMPLE")
Write-Host "$s - $location - $logBackupDate"
output is expected, and everything works fine... But some servers I get the following error:
PS K:\MyScripts\powershell> . 'C:\Users\scj0025\AppData\Local\Temp\Untitled30.ps1'
foreach : The following exception was thrown when trying to enumerate the collection: "Failed to connect to server poly04406.".
At C:\Users\scj0025\AppData\Local\Temp\Untitled30.ps1:9 char:8
+ foreach <<<< ($db in $dbs)
+ CategoryInfo : NotSpecified: (:) [], ExtendedTypeSystemException
+ FullyQualifiedErrorId : ExceptionInGetEnumerator
If I go to another script and look at the same server, I get the results I expect:
Function Get-SQLInstance {
<#
.SYNOPSIS
Retrieves SQL server information from a local or remote servers.
.DESCRIPTION
Retrieves SQL server information from a local or remote servers. Pulls all
instances from a SQL server and detects if in a cluster or not.
.PARAMETER Computername
Local or remote systems to query for SQL information.
.NOTES
Name: Get-SQLInstance
Author: Boe Prox
DateCreated: 07 SEPT 2013
.EXAMPLE
Get-SQLInstance -Computername DC1
SQLInstance : MSSQLSERVER
Version : 10.0.1600.22
isCluster : False
Computername : DC1
FullName : DC1
isClusterNode : False
Edition : Enterprise Edition
ClusterName :
ClusterNodes : {}
Caption : SQL Server 2008
SQLInstance : MINASTIRITH
Version : 10.0.1600.22
isCluster : False
Computername : DC1
FullName : DC1\MINASTIRITH
isClusterNode : False
Edition : Enterprise Edition
ClusterName :
ClusterNodes : {}
Caption : SQL Server 2008
Description
Retrieves the SQL information from DC1
#>
[cmdletbinding()]
Param (
[parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
[Alias('__Server','DNSHostName','IPAddress')]
#[string[]]$ComputerName = Get-Host "C:\serverlist.txt"
[string[]]$ComputerName = $env:COMPUTERNAME
Process {
ForEach ($Computer in $Computername) {
$Computer = $computer -replace '(.*?)\..+','$1'
Write-Verbose ("Checking {0}" -f $Computer)
Try {
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $Computer)
$baseKeys = "SOFTWARE\\Microsoft\\Microsoft SQL Server",
"SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SQL Server"
If ($reg.OpenSubKey($basekeys[0])) {
$regPath = $basekeys[0]
} ElseIf ($reg.OpenSubKey($basekeys[1])) {
$regPath = $basekeys[1]
} Else {
Continue
$regKey= $reg.OpenSubKey("$regPath")
If ($regKey.GetSubKeyNames() -contains "Instance Names") {
$regKey= $reg.OpenSubKey("$regpath\\Instance Names\\SQL" )
$instances = @($regkey.GetValueNames())
} ElseIf ($regKey.GetValueNames() -contains 'InstalledInstances') {
$isCluster = $False
$instances = $regKey.GetValue('InstalledInstances')
} Else {
Continue
If ($instances.count -gt 0) {
ForEach ($instance in $instances) {
$nodes = New-Object System.Collections.Arraylist
$clusterName = $Null
$isCluster = $False
$instanceValue = $regKey.GetValue($instance)
$instanceReg = $reg.OpenSubKey("$regpath\\$instanceValue")
If ($instanceReg.GetSubKeyNames() -contains "Cluster") {
$isCluster = $True
$instanceRegCluster = $instanceReg.OpenSubKey('Cluster')
$clusterName = $instanceRegCluster.GetValue('ClusterName')
$clusterReg = $reg.OpenSubKey("Cluster\\Nodes")
$clusterReg.GetSubKeyNames() | ForEach {
$null = $nodes.Add($clusterReg.OpenSubKey($_).GetValue('NodeName'))
$instanceRegSetup = $instanceReg.OpenSubKey("Setup")
Try {
$edition = $instanceRegSetup.GetValue('Edition')
} Catch {
$edition = $Null
Try {
$ErrorActionPreference = 'Stop'
#Get from filename to determine version
$servicesReg = $reg.OpenSubKey("SYSTEM\\CurrentControlSet\\Services")
$serviceKey = $servicesReg.GetSubKeyNames() | Where {
$_ -match "$instance"
} | Select -First 1
$service = $servicesReg.OpenSubKey($serviceKey).GetValue('ImagePath')
$file = $service -replace '^.*(\w:\\.*\\sqlservr.exe).*','$1'
$version = (Get-Item ("\\$Computer\$($file -replace ":","$")")).VersionInfo.ProductVersion
} Catch {
#Use potentially less accurate version from registry
$Version = $instanceRegSetup.GetValue('Version')
} Finally {
$ErrorActionPreference = 'Continue'
New-Object PSObject -Property @{
Computername = $Computer
SQLInstance = $instance
Edition = $edition
Version = $version
Caption = {Switch -Regex ($version) {
"^11" {'SQL Server 2012';Break}
"^10\.5" {'SQL Server 2008 R2';Break}
"^10" {'SQL Server 2008';Break}
"^9" {'SQL Server 2005';Break}
"^8" {'SQL Server 2000';Break}
Default {'Unknown'}
}}.InvokeReturnAsIs()
isCluster = $isCluster
isClusterNode = ($nodes -contains $Computer)
ClusterName = $clusterName
ClusterNodes = ($nodes -ne $Computer)
FullName = {
If ($Instance -eq 'MSSQLSERVER') {
$Computer
} Else {
"$($Computer)\$($instance)"
}.InvokeReturnAsIs()
} Catch {
Write-Warning ("{0}: {1}" -f $Computer,$_.Exception.Message)
When I run this command, I get:
PS C:\Users\scj0025\Documents> Get-SQLInstance -ComputerName poly04406
SQLInstance : SQL642K5_01
Version : 9.2.3042.00
isCluster : False
Computername : poly04406
FullName : poly04406\SQL642K5_01
isClusterNode : False
Edition : Enterprise Edition (64-bit)
ClusterName :
ClusterNodes : {}
Caption : SQL Server 2005
SQLInstance : CONSQL2K8
Version : 10.0.2531.0
isCluster : False
Computername : poly04406
FullName : poly04406\CONSQL2K8
isClusterNode : False
Edition : Enterprise Edition
ClusterName :
ClusterNodes : {}
Caption : SQL Server 2008
I notice to get this information the get-sqlinstance script is looking at the registry.. is that the "Better" way to get an accurate list of this?
(I understand they are looking for different things, but why wont the first script pick up the different instances on the server, I wonder...) -
EKM using the Azure Key Vault is now available for SQL Database and SQL Server running in Azure VM's
In preview today, you can create keys in the Azure Key Vault, and use them with Azure SQL Database, or SQL Server running in a Azure VM. Use the Extensible Key Management (EKM) for TDE, backup encryption, or cell level encryption. For more information, see
Extensible Key Management Using Azure Key Vault (SQL Server)
http://msdn.microsoft.com/en-us/library/dn198405.aspx.
The announcement:
Azure Key Vault in public preview
Key Vault offers an easy, cost-effective way to safeguard keys and other sensitive data used by cloud applications and services. Included are the following features:
Enhance data protection and compliance:
Protect cryptographic keys and sensitive data like passwords with keys stored in Hardware Security Modules (HSMs). For added assurance, import or generate your keys in HSMs certified to FIPS 140-2 level 2 and Common Criteria EAL4 standards,
so that keys stay within the HSM boundary. Key Vault is designed so that Microsoft doesn’t see or extract your keys.
All the control, none of the work:
Provision new vaults and keys in minutes and centrally manage keys, sensitive data, and policies. You maintain control over your encrypted data—simply grant permission for your own and third-party applications to use keys as needed. Enable
developers to easily manage keys used for dev/test and migrate seamlessly to production keys managed by security operations.
Boost performance and achieve global scale: Improve
performance and reduce latency of cloud applications by storing cryptographic keys in the cloud (versus on-premises). Key Vault rapidly scales to meet the cryptographic needs of your cloud applications and match peak demand.
Get started with Azure Key Vault by creating keys for applications you develop,
SQL Server encryption (TDE, CLE, and Backup), and partner solutions like
CloudLink SecureVM.
Key Vault is available now at no charge with discounted preview pricing starting on January 15, 2015.
For more information, please visit the
Key Vault webpage. For a comprehensive look at pricing, please visit the
Key Vault Pricing webpage.
Rick Byham, Microsoft, SQL Server Books Online, Implies no warrantyThank you for sharing this Rick.
Regards,
Alberto Morillo
SQLCoffee.com -
Oracle SQL Developper and SQL Server Connection
Hello
I try to connect to a SQL Server 2005 Database under Oracle SQl Developper but I always obtain this error :
oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:164)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:191)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:66)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:781)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:654)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
at java.lang.Thread.run(Thread.java:595)
I download the jtds driver. Where should I extract it on SQL Developper Folder.
Thanks a lot
Best regards
StéphaneHello!
Download jTDS - SQL Server and Sybase JDBC driver from http://sourceforge.net/project/showfiles.php?group_id=33291
In Oracle SQL Developer open Tools -> Preferences
Database -> Third Party JDBC Drivers
Add Entry
Browse the unzipped driver and add the jtds-1.2.jar file
emeriqus -
How to insert BLOB datatype image using PL/SQL Procedure and SQL Loader
Hi,
How to insert an image into database using PL/SQL Procedure and also how to insert using SQL Loader. Please help by giving sample code and process description.
Thanks,
Vijay Vhttp://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:232814159006
-
Usage of Xopen SQL states and SQL Exception?
Hi
Is there way to make full use of SQL Exceptions?
Has anybody used sql states from sql exception?
It is specified in the API reference that an sql exception object contains an xopen sql state which is a string. But the states in specs are defined as class, subclass.
The question is how can i make use of these java strings to interpret what exactly happened at the database? Are they really useful? If they are, any utilities which converts these strings to a meaningful message? Any pointers on these question would also help me.
Thanx in adv.
GiridharSQLException has inherited a method getMessage() which seems to be quite useful.
For situations where you want to check on a specific one of several possible (or expected) states (like: maybe the table is not yet created ...), I think you can quite fine use getSQLState() and also getErorCode(). Try out in tests, which information is returned by which constellation, then you can use it for making decisions in your program logic.
But be aware, that all these informations probably are DBMS specific! -
SQL 2000 AND SQL 2005 ON THE SAME SERVER
Hi all ,
I have an installation of SAP4.7SR1 /MSSQL2000 on a windows 2003 server.
I want to install SAP SOLUTION MANAGER 4.0 /MSSQL2005 on the same server ... it is possible that two version of SQL ( 2000 and 2005 ) coexists on the same server ? It's sufficent to install SQL into two different directory ?
Thank's a lot.
Antonio Voce.Hi,
yes it is possible to install SQL2000 and SQL2005 on same server but there are certain special considerations that you should be aware of
look at following blog
http://blogs.msdn.com/sqlblog/archive/2006/09/27/co-existence-of-sql-2005-with-sql-2000.aspx
also look http://msdn2.microsoft.com/en-us/library/ms143694.aspx
but in case of SAP Installation i prefered that to upgarde SQL2000 to SQL2005 then install solman 4.0
regards,
kaushal -
How exit for a script having set of pl/sql blocks and sql queries
HI,
I have set of blocks and sql queries in a script.
In some cases I want to stop the excution of next statements and blocks.
As in pl/sql block We can use return , in case of loop we can use exit, so what is to be use in case if sql script which contain set of blocks and sql queries.
Thanks and Regards in Advance,Hi,
how to exit from the script if confirm_to_continue is set to 'N'.
i.e in this case I want the preceding statements not to be excuted.
Please suggest.
script:
declare /*BLOCK NO1*/
begin
IF &&confirm_to_continue = 'N'
THEN
---exit from from whole script
RETURN; -- this will only exit from this block
END IF;
end;
host IF EXIST &file_name (del &file_name) ELSE (echo missing)
declare /*BLOCK NO 2*/
begin
end;
/
Maybe you are looking for
-
RBDSTATE Backgound Job getting failed in Production
Hello , We are facing problems with ALEAUD acknowledgement sending report RBDSTATE , its working fine in QA but is getting failed in Prod. we have implemented EXIT_SAPLBD11_001 for populating the segments with custom messages . Can someone throw lig
-
Hi Frnds, I'm doing a IDOc to JDBC scenario, there is some intermediate processing in between which involves getting response from DB & sending final update message to DB using JDBC. Till obtaining response & sending final update is getting executed
-
Table type with include structure
Hi All, How to declare a table type with include structure i am declaraing it in the following way its giving epc check of obselete statement, could any one tell me how to declare a table type and internal table for the following code. DATA:BEGIN OF
-
Is possible capture quotes stream from a running java application?
Running from webstart the following jnlp code: <?xml version="1.0" encoding="utf-8"?><jnlp spec="1.0+" codebase="http://powertrade.intesatrade.it/T3"> <information> <title>IntesaTRADE T3 Demo</title> <vendor>IntesaTRADE</vendor> <description>IntesaTR
-
Array indexOf() Reference Error?
Hello, I have these simple code lines and on line 20 I'm getting the error in the comment but I cant find the problem in my code var directions = [0,1,2,3]; var lockedDirection = 0; var lastDirection = 2; // sample code switch (lastDir