Click here to Skip to main content
16,020,840 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Joins Help Pin
Jammer26-Aug-10 3:40
Jammer26-Aug-10 3:40 
QuestionSet value of Excel cell to the result of a query [modified] Pin
anthasaurus25-Aug-10 23:12
anthasaurus25-Aug-10 23:12 
AnswerRe: Set value of Excel cell to the result of a query Pin
Eddy Vluggen26-Aug-10 7:20
professionalEddy Vluggen26-Aug-10 7:20 
QuestionBest way to merge/process commands on SQLCE Pin
Spawn@Melmac25-Aug-10 5:23
Spawn@Melmac25-Aug-10 5:23 
AnswerRe: Best way to merge/process commands on SQLCE Pin
David Mujica25-Aug-10 5:39
David Mujica25-Aug-10 5:39 
AnswerRe: Best way to merge/process commands on SQLCE Pin
Eddy Vluggen25-Aug-10 7:54
professionalEddy Vluggen25-Aug-10 7:54 
GeneralRe: Best way to merge/process commands on SQLCE Pin
Spawn@Melmac25-Aug-10 14:22
Spawn@Melmac25-Aug-10 14:22 
GeneralRe: Best way to merge/process commands on SQLCE Pin
Eddy Vluggen26-Aug-10 7:19
professionalEddy Vluggen26-Aug-10 7:19 
Spawn@Melmac wrote:
could this be integrated into the ACCESSOR class mechanism I am using at present?

I have no idea what an Accessor is; a bit of explanation and some code would be nice.

Spawn@Melmac wrote:
So when I came across the @@IDENTITY I thought I was sorted

That should return the last identity, and it should be possible to execute two SqlCeCommand[^] consecutively.

Something similar to the code below;
C#
using (var con = new SqlCeConnection(connectionString))
using (var cmd = new SqlCeCommand())
{
  con.Open();
  cmd.Connection = con;
  cmd.CommandText = "INSERT ...";
  cmd.ExecuteNonQuery();

  // execute a second command;
  cmd.Parameters.Clear();
  cmd.CommandText = "SELECT @@IDENTITY";
  object recordId = cmd.ExecuteScalar();
}

How does an Accessor work? Is it used to execute query's?
I are Troll Suspicious | :suss:

GeneralRe: Best way to merge/process commands on SQLCE Pin
Spawn@Melmac26-Aug-10 11:08
Spawn@Melmac26-Aug-10 11:08 
GeneralRe: Best way to merge/process commands on SQLCE Pin
Eddy Vluggen27-Aug-10 7:04
professionalEddy Vluggen27-Aug-10 7:04 
QuestionODP.Net Vs OleDb Pin
V.25-Aug-10 3:51
professionalV.25-Aug-10 3:51 
AnswerRe: ODP.Net Vs OleDb Pin
dan!sh 25-Aug-10 5:31
professional dan!sh 25-Aug-10 5:31 
GeneralRe: ODP.Net Vs OleDb Pin
V.25-Aug-10 8:07
professionalV.25-Aug-10 8:07 
GeneralRe: ODP.Net Vs OleDb Pin
dan!sh 25-Aug-10 22:11
professional dan!sh 25-Aug-10 22:11 
QuestionIn-memory Pin
FEMDEV25-Aug-10 0:05
FEMDEV25-Aug-10 0:05 
AnswerRe: In-memory Pin
Eddy Vluggen25-Aug-10 10:19
professionalEddy Vluggen25-Aug-10 10:19 
QuestionUpdate where count > 1 Pin
Lash2024-Aug-10 7:25
Lash2024-Aug-10 7:25 
AnswerRe: Update where count > 1 Pin
Blue_Boy24-Aug-10 8:06
Blue_Boy24-Aug-10 8:06 
AnswerRe: Update where count > 1 Pin
Luc Pattyn24-Aug-10 8:06
sitebuilderLuc Pattyn24-Aug-10 8:06 
AnswerRe: Update where count > 1 Pin
David Mujica24-Aug-10 8:06
David Mujica24-Aug-10 8:06 
GeneralRe: Update where count > 1 Pin
Lash2024-Aug-10 8:35
Lash2024-Aug-10 8:35 
GeneralRe: Update where count > 1 Pin
Blue_Boy24-Aug-10 8:59
Blue_Boy24-Aug-10 8:59 
QuestionSplit a varbinary in a SELECT Pin
solomon8524-Aug-10 2:01
solomon8524-Aug-10 2:01 
AnswerRe: Split a varbinary in a SELECT Pin
Blue_Boy24-Aug-10 2:47
Blue_Boy24-Aug-10 2:47 
GeneralRe: Split a varbinary in a SELECT Pin
R. Giskard Reventlov24-Aug-10 3:25
R. Giskard Reventlov24-Aug-10 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.