Sequence Clustering Model Processing Fails Due To Sort Order
Dec 18, 2007
I am using Sequence Clustering algorithm. (I've built several models with Clustering algorithm and Decision Trees for this client, which work fine.).
Background: Sequence data must be stored in a nested table, which can have only 1 non-key attribute.
I specify a mining model structure with the nested table key as the datetime, and the nested table discrete prediction column as [sort name] . this builds the model fine.
When I try to process this data mining model, I get Process failed: "Errors in the OLAP storage engine: The sort order specified for distinct count records is incorrect".
Iit may be that OLAP distinct count requests numerical data type, but not from the examples I've seen. Tried this anyway €“ doesn€™t work on numeric either €“ same problem.
Any Suggestions?
View 1 Replies
ADVERTISEMENT
Aug 7, 2007
I am trying to set sorting up on a DataGrid in ASP.NET 2.0. I have it working so that when you click on the column header, it sorts by that column, what I would like to do is set it up so that when you click the column header again it sorts on that field again, but in the opposite direction. I have it working using the following code in the stored procedure: CASE WHEN @SortColumn = 'Field1' AND @SortOrder = 'DESC' THEN Convert(sql_variant, FileName) end DESC,
case when @SortColumn = 'Field1' AND @SortOrder = 'ASC' then Convert(sql_variant, FileName) end ASC,
case WHEN @SortColumn = 'Field2' and @SortOrder = 'DESC' THEN CONVERT(sql_variant, Convert(varchar(8000), FileDesc)) end DESC,
case when @SortColumn = 'Field2' and @SortOrder = 'ASC' then convert(sql_variant, convert(varchar(8000), FileDesc)) end ASC,
case when @SortColumn = 'VersionNotes' and @SortOrder = 'DESC' then convert(sql_variant, convert(varchar(8000), VersionNotes)) end DESC,
case when @SortColumn = 'VersionNotes' and @SortOrder = 'ASC' then convert(sql_variant, convert(varchar(8000), VersionNotes)) end ASC,
case WHEN @SortColumn = 'FileDataID' and @SortOrder = 'DESC' THEN CONVERT(sql_variant, FileDataID) end DESC,
case WHEN @SortColumn = 'FileDataID' and @SortOrder = 'ASC' THEN CONVERT(sql_variant, FileDataID) end ASC And I gotta tell you, that is ugly code, in my opinion. What I am trying to do is something like this: case when @SortColumn = 'Field1' then FileName end,
case when @SortColumn = 'FileDataID' then FileDataID end,
case when @SortColumn = 'Field2' then FileDesc
when @SortColumn = 'VersionNotes' then VersionNotes
end
case when @SortOrder = 'DESC' then DESC
when @SortOrder = 'ASC' then ASC
end and it's not working at all, i get an error saying: Incorrect syntax near the keyword 'case' when i put a comma after the end on line 5 i get: Incorrect syntax near the keyword 'DESC' What am I missing here? Thanks in advance for any help -Madrak
View 1 Replies
View Related
Nov 10, 2006
Hi!
I've read a lot of informoation about the Microsoft Sequence
Clustering algorithm, but the more i read more confused i get. Here's
my doubt:
Can it discover sequences of "tokes" and then group them? Or only compare sequences in order to group them?
Thanks in advance
View 3 Replies
View Related
Aug 14, 2007
I€™m a college student currently studying 10th semester in the Universidad de los Andes, Colombia and I€™m working on a data mining project. I need to use the cluster sequence approach; therefore I need to completely understand how it works. In order to understand it, I need to know which inputs it uses, how the algorithm works and which type of outputs does the approach throw. Do you have any idea where I can find this type of information? and examples?
Any help would be appreciated.
Thank-you for your time.
View 4 Replies
View Related
Oct 10, 2006
I get this message when I deploy my sequence clustering model:
Error 1 Error (Data mining): Duplicate Key Sequence values in an input case for SeqCluster. Ambiguous case(s) may lead to unreliable results. Disambiguate the data (recommended) or increase ErrorLog KeyErrorLimit server parameter. 0 0
I don't have any duplicate keys in my case table. I'm using a date for my key sequence column in my nested table. Is that the problem?
View 3 Replies
View Related
Nov 1, 2006
How do I limit (or partition) a sequence clustering by year? I would like to do it within the sequence clustering mining structure instead of partition at the OLAP cube/
View 1 Replies
View Related
Jul 13, 2006
Hi
I read the paper of sequence clustering. It seems that the major application of the algorithm is for the web site. I was just thinking that can I apply this algorithm on the purchase sequences of credit card data?
If so,please also tell me the difference between sequence clustering and association rules on credit card data application. Although I realize that sequence clustering is a fully probabilistic model and it has the capability of prediction, association rules also give the probabilities of purchasing the other products.
Thanks in advance.
To Wong
View 1 Replies
View Related
Aug 24, 2007
hi
where i can find some data bases to see how the sequence clustering works?.
thanks a lot
View 1 Replies
View Related
May 1, 2007
Hi, all experts here,
Thank you very much for your kind attention.
I have a question on sequence clustering algorithm. As generally it is used for sequence analysis especially for web path visiting analysis. Besides that, what else scenarios could we apply this algorithm as well?
Thanks a lot in advance and I am looking forward to hearing from you shortly.
With best regards,
Yours sincerely,
View 5 Replies
View Related
Sep 24, 2012
In SQL sERVER 2008, I have two fields - Depatment and Employees. I need to sort the result set by employee number ascending order, with following exception
1)when department number = 50 - the preferred order is Employee # - 573 followed by 551-572 (employee # belong to Dept 50 = 551-573)
2)When Department number = 20 – the preferred sort order is Employee # 213-220, followed by Employee # 201-213 (employee # belong to Dept 20 = 201-220)
How shall I achieve this?
View 4 Replies
View Related
Mar 27, 2008
Hi!
I recently run into a senario when a procedure quiered a table without a order by clause. Luckily it retrived data in the prefered order.
The table returns the data in the same order in SQL Manager "Open Table"
So I started to wonder what deterimins the sort order when there is no order by clause ?
I researched this for a bit but found no straight answers. My table has no PK, but an identiy column.
Peace.
/P
View 5 Replies
View Related
Mar 4, 2007
somebody help me??
View 4 Replies
View Related
Mar 28, 2007
hey all,
im having some problem to do this. i have this one table, that has sequence for other table.
table : tblpicksequence (this sequence is dynamic eg : Non=1, cons=2, RET=3)
picktypepicksequenceitemref
RET1x1
Non2x1
Cons3x1
i need to select record from other table depend on tblpicksequence sequence
table : tbldetail
idRETNonCons
1001
2110
3100
4 001
so base on tblpicksequence, RET=1, NOn=2, Cons=3, i need to list the record from tbldetail :-
i.list all RET=1
ii.if (i) not exists list all Non=1
iii.if (ii) not exists list all Cons=3
i expect :-
idRETNonConspicksequencepicktype
21101RET
31001RET
~~~Focus on problem, not solution~~~
View 8 Replies
View Related
Apr 14, 2008
Hi,
We got a problem.
supposing we have a table like this:
CREATE TABLE a (
aId int IDENTITY(1,1) NOT NULL,
aName string2 NOT NULL
)
go
ALTER TABLE a ADD
CONSTRAINT PK_a PRIMARY KEY CLUSTERED (aId)
go
insert into a values ('bank of abcde');
insert into a values ('bank of abcde');
...
... (20 times)
select top 5 * from a order by aName
Result is:
6Bank of abcde
5Bank of abcde
4Bank of abcde
3Bank of abcde
2Bank of abcde
select top 10 * from a order by aName
Result is:
11Bank of abcde
10Bank of abcde
9Bank of abcde
8Bank of abcde
7Bank of abcde
6Bank of abcde
5Bank of abcde
4Bank of abcde
3Bank of abcde
2Bank of abcde
According to this result, user see the first 5 records with id 6, 5, 4, 3, 2 in page 1, but when he tries to view page 2, he still see the records with id 6, 5, 4, 3, 2. This is not correct for users. :eek:
Of course we can add order by aid also, but there are tons of sqls like this, we can't update our application in one shot.
So I ask for your advice here, is there any settings can tell the db use default sort order when the order by column value are the same? Or is there any other solution to resolve this problem in one shot?
View 14 Replies
View Related
Apr 14, 2008
Hi,
We got a problem.
supposing we have a table like this:
CREATE TABLE a (
aId int IDENTITY(1,1) NOT NULL,
aName string2 NOT NULL
)
go
ALTER TABLE a ADD
CONSTRAINT PK_a PRIMARY KEY CLUSTERED (aId)
go
insert into a values ('bank of abcde');
insert into a values ('bank of abcde');
...
... (20 times)
select top 5 * from a order by aName
Result is:
6 Bank of abcde
5 Bank of abcde
4 Bank of abcde
3 Bank of abcde
2 Bank of abcde
select top 10 * from a order by aName
Result is:
11 Bank of abcde
10 Bank of abcde
9 Bank of abcde
8 Bank of abcde
7 Bank of abcde
6 Bank of abcde
5 Bank of abcde
4 Bank of abcde
3 Bank of abcde
2 Bank of abcde
According to this result, user see the first 5 records with id 6, 5, 4, 3, 2 in page 1, but when he tries to view page 2, he still see the records with id 6, 5, 4, 3, 2. This is not correct for users.
Of course we can add order by aid also, but there are tons of sqls like this, we can't update our application in one shot.
So I ask for your advice here, is there any settings can tell the db use default sort order when the order by column value are the same? Or is there any other solution to resolve this problem in one shot?
View 5 Replies
View Related
Mar 19, 2007
I am getting the resultset sorted differently if I use a column number in the ORDER BY clause instead of a column name.
Product: Microsoft SQL Server Express Edition
Version: 9.00.1399.06
Server Collation: SQL_Latin1_General_CP1_CI_AS
for example,
create table test_sort
( description varchar(75) );
insert into test_sort values('Non-A');
insert into test_sort values('Non-O');
insert into test_sort values('Noni');
insert into test_sort values('Nons');
then execute the following selects:
select
*
from
test_sort
order by
cast( 1 as nvarchar(75));
select
*
from
test_sort
order by
cast( description as nvarchar(75));
Resultset1
----------
Non-A
Non-O
Noni
Nons
Resultset2
----------
Non-A
Noni
Non-O
Nons
Any ideas?
View 4 Replies
View Related
Jul 27, 2006
Hi,
I have built a Clustering model that captures customer demographic information
and identify various hidden clusters based on the information.
What kind of predictions can I make using the above model?
View 5 Replies
View Related
Jan 15, 2008
I´ve developed a Clustering Model with a total population of 25,000 customers. As a result I have 10 clusters. The variables are products.
My question is:
How can I automatically detect which clusters to select if the Product Manager of Product A (one of the variables) ask me for a DataBase of customers that are more willing to by Product A? In that case I´d like to select the clusters where the penetration of product A is more than 65% and select the customers of those clusters that don´t have Product A.
Basically the question will be....How I detect with a query which is the cluster where the penetration of a given producto is more than X%
Which will be the query that I should use to extract that information?
Thanks in advance!!
Ezes
View 1 Replies
View Related
Dec 12, 2006
I have a question about writing a prediction query against a clustering model that has the same column added more than once.
Per Jamie, I can accomplish some crude weighting by adding a column to my model multiple times. See this post for an explnation... Now that I have that worked out, I was wondering how my DM query would look? If I have Input_A1, Input_A2 , & Input_A3 all being source from the same column in my structure do I have to reference all three when writing my prediction query?
View 1 Replies
View Related
Feb 15, 2008
In the previous thread I said when I want to create a model and structure, in process time one error appeared that I said.
Now I think this error is because of my structure now I€˜ve one request i send my project and please see that and say what is this error?
Thanks a lot.
For creating mining structure and mining model I use the code of chapter14 file that one person had put for me
Please run this project and then say whay when I process my model ,the process do incorrectly.
in this code button 1 is for showing the anme of data bsase and table and column of that in currenyt server and then with button 2 i want ot creat model and struture and data source data source view
now please run this code and then say whay i have error for process model .
please run and answer me
thanks a lot
string last;
int ts;
string[] items;
string ky;
string t;
string dbnam;
string tblnam;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");
con.Open();
SqlCommand cmd1 = new SqlCommand(" EXEC sp_databases;", con);
DataSet ds = new DataSet();
SqlDataAdapter da1 = new SqlDataAdapter();
da1.SelectCommand = cmd1;
da1.Fill(ds, "1");
this.comboBox1.DisplayMember = "database_name";
this.comboBox1.ValueMember = "database_name";
this.comboBox1.DataSource = ds.Tables["1"];
SqlCommand cmd2 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_tables @table_owner ='dbo';", con);
SqlDataAdapter da2 = new SqlDataAdapter();
da2.SelectCommand = cmd2;
da2.Fill(ds, "2");
this.comboBox2.DisplayMember = "table_name";
this.comboBox2.ValueMember = "table_name";
this.comboBox2.DataSource = ds.Tables["2"];
SqlCommand cmd3 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_columns @table_name = N'" + comboBox2.Text.ToString() + "', @table_owner = N'DBO';", con);
SqlDataAdapter da3 = new SqlDataAdapter();
da3.SelectCommand = cmd3;
da3.Fill(ds, "3");
DataTable dt = new DataTable();
dt.Columns.Add("column_name");
dt.Columns.Add("data_type");
for (int i = 0; i < ds.Tables["3"].Rows.Count; i++)
{
DataRow dr = ds.Tables["3"].Rows;
dt.Rows.Add(dr[3], dr[5]);
}
con.Close();
dataGridView1.Columns.Clear();
dataGridView1.DataSource = dt;
DataGridViewCheckBoxColumn DVCC = new DataGridViewCheckBoxColumn();
DVCC.Name = "key";
dataGridView1.Columns.Add(DVCC);
DataGridViewCheckBoxColumn DVCC2 = new DataGridViewCheckBoxColumn();
DVCC2.Name = "input";
dataGridView1.Columns.Add(DVCC2);
DataGridViewCheckBoxColumn DVCC3 = new DataGridViewCheckBoxColumn();
DVCC3.Name = "predict";
dataGridView1.Columns.Add(DVCC3);
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
dbnam = comboBox1.Text;
tblnam = comboBox2.Text;
Microsoft.AnalysisServices.Server srv = new Server();
srv.Connect("data source=localhost");
string dbname;
dbname = comboBox1.Text;
Database dbNew = new Database(dbname,
Utils.GetSyntacticallyValidID(dbname, typeof(Database)));
srv.Databases.Add(dbNew);
dbNew.Update();
//***************************//
string DataSourcename;
DataSourcename = comboBox1.Text;
RelationalDataSource dsNew = new RelationalDataSource(
DataSourcename,
Utils.GetSyntacticallyValidID(
DataSourcename,
typeof(RelationalDataSource)));
dsNew.ConnectionString = "Provider=SQLNCLI;Data Source=localhost;" +
"Initial Catalog="+comboBox1.Text+";Integrated Security=SSPI"; ;
dbNew.DataSources.Add(dsNew);
dsNew.Update();
//**************************//
DataSet dset = new DataSet();
SqlConnection cn = new SqlConnection("Data Source=localhost;" +
"Initial Catalog="+comboBox1.Text+";Integrated Security=true");
SqlDataAdapter da = new SqlDataAdapter("select * from "+comboBox2.Text,cn);
da.FillSchema(dset, SchemaType.Mapped, comboBox2.Text);
DataSourceView dsv = new DataSourceView(comboBox1.Text, comboBox1.Text);
dsv.DataSourceID = comboBox1.Text ;
dsv.Schema = dset.Clone();
dbNew.DataSourceViews.Add(dsv);
dbNew.Update(UpdateOptions.ExpandFull);
MiningStructure ms = dbNew.MiningStructures.Add(comboBox2.Text, Utils.GetSyntacticallyValidID(comboBox2.Text,
typeof(MiningStructure)));
ms.Source = new DataSourceViewBinding(comboBox1.Text);
ms.CaseTableName = comboBox2.Text;
int count = dataGridView1.Rows.Count;
for (int i = 0; i < count - 1; i++)
{
if (Convert.ToBoolean(dataGridView1.Rows.Cells["key"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["input"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["predict"].Value))
{
string X;
X = Convert.ToString(dataGridView1[0, i].Value);
ScalarMiningStructureColumn I;
I = new ScalarMiningStructureColumn(X,
Utils.GetSyntacticallyValidID(X, typeof(ScalarMiningStructureColumn)));
if (!Convert.ToBoolean(dataGridView1[2, i].Value))
{
I.IsKey = false;
I.Type = conv(Convert.ToString(dataGridView1[1, i].Value));
I.Content = "Continuous";
}
else
{
ky = X;
I.IsKey = true;
I.Content = "Key";
I.KeyColumns.Add(comboBox2.Text, X, OleDbType.Integer);
}
ms.Columns.Add(I);
}
// //****************************************************************************************************************************************//
}
ms.Update();
MiningModel mm = ms.MiningModels.Add(comboBox2.Text,
Utils.GetSyntacticallyValidID(comboBox2.Text, typeof(MiningModel)));
mm.Algorithm = "Microsoft_Time_Series";
for (int i = 0; i < count - 1; i++)
{
if (Convert.ToBoolean(dataGridView1.Rows.Cells["key"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["input"].Value) | Convert.ToBoolean(dataGridView1.Rows.Cells["predict"].Value))
{
string X;
X = Convert.ToString(dataGridView1[0, i].Value);
MiningModelColumn mc = new MiningModelColumn(X,
Utils.GetSyntacticallyValidID(X, typeof(MiningModelColumn)));
mc.SourceColumnID = ms.Columns[X].ID;
if (Convert.ToBoolean(dataGridView1[2, i].Value))
mc.Usage = "Key";
else
if ((Convert.ToBoolean(dataGridView1[3, i].Value)) && (Convert.ToBoolean(dataGridView1[4, i].Value)))
mc.Usage = "Predict";
else
mc.Usage = "PredictOnly";
mm.Columns.Add(mc);
}
}
mm.Update();
ms.Process(ProcessType.ProcessStructure);
mm.Process(ProcessType.ProcessDefault);
srv.Disconnect();
SqlDataAdapter da2 = new SqlDataAdapter("select " + ky + " from " + comboBox2.Text, cn);
DataTable dt=new DataTable();
da2.Fill(dt);
ts = dt.Rows.Count;
items = new string[ts+10];
for (int i = 0; i < ts; i++)
{DataRow dr = dt.Rows;
items=dr[0].ToString();
}
last = items[ts-1];
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");
SqlCommand cmd2 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_tables @table_owner ='dbo';", con);
con.Open();
SqlDataAdapter da2 = new SqlDataAdapter();
da2.SelectCommand = cmd2;
DataSet ds = new DataSet();
da2.Fill(ds, "2");
con.Close();
this.comboBox2.DisplayMember = "table_name";
this.comboBox2.ValueMember = "table_name";
this.comboBox2.DataSource = ds.Tables["2"];
if (comboBox2.Items.Count > 0)
{
comboBox2.SelectedIndex = 0;
}
}
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=localhost;Integrated Security=True");
SqlCommand cmd3 = new SqlCommand("USE " + comboBox1.Text.ToString() + " EXEC sp_columns @table_name = N'" + comboBox2.Text.ToString() + "', @table_owner = N'DBO';", con);
con.Open();
SqlDataAdapter da3 = new SqlDataAdapter();
da3.SelectCommand = cmd3;
DataSet ds = new DataSet();
da3.Fill(ds,"3");
con.Close();
dataGridView1.DataSource = "empty";
con.Close();
DataTable dt = new DataTable();
dt.Columns.Add("column_name");
dt.Columns.Add("data_type");
for (int i = 0; i < ds.Tables["3"].Rows.Count; i++)
{
DataRow dr = ds.Tables["3"].Rows;
dt.Rows.Add(dr[3], dr[5]);
}
dataGridView1.Columns.Clear();
dataGridView1.DataSource = dt;
DataGridViewCheckBoxColumn DVCC = new DataGridViewCheckBoxColumn();
DVCC.Name = "key";
dataGridView1.Columns.Add(DVCC);
DataGridViewCheckBoxColumn DVCC2 = new DataGridViewCheckBoxColumn();
DVCC2.Name = "input";
dataGridView1.Columns.Add(DVCC2);
DataGridViewCheckBoxColumn DVCC3 = new DataGridViewCheckBoxColumn();
DVCC3.Name = "predict";
dataGridView1.Columns.Add(DVCC3);
}
public string conv(string data_type)
{
if (data_type == "int" | data_type == "tinyint" | data_type == "smallint" | data_type == "bigint")
t = "Long";
else
if (data_type == "char" | data_type == "nchar" | data_type == "varchar" | data_type == "nvarchar" | data_type == "binary" | data_type == "varbinary" | data_type == "image" | data_type == "text" | data_type == "ntext" | data_type == "timestamp" | data_type == "uniqueidentifier")
t = "text";
else
if (data_type == "decimal" | data_type == "float" | data_type == "money" | data_type == "smallmoney" | data_type == "numeric" | data_type == "real")
t = "Double";
else
if (data_type == "datetime" | data_type == "smalldatetime")
t = "Date";
else
if(data_type=="bit")
t="Boolean";
return t;
}
}
}
View 2 Replies
View Related
Apr 27, 2008
Hi all.
In one table fields vales are 9, 5, 7, 2, 5, 6, 44, 67, 789.
I want to get 5 high values so please can you write sql query for this question.
Thanks.
Zahyea.
View 1 Replies
View Related
Jan 23, 2008
Hi,
I have a table in which there is 5 column ...one with numbers like...1,2,3,4,..20...and one column is with description....and other column with other details...
Now I want to disply my results in sequence followed by 1,2,3,4,5,17,18,15,16,10,11,20 with all other columns...so can anybody suggest me what to do..?
View 3 Replies
View Related
Oct 19, 2007
Hi fellows
I have these values with a PK and length.
PK length
dd1 2
dd1 4
dd1 6
dd1 8
dd1 9
dd2 1
dd2 3
dd2 6
dd2 9
dd3 3
dd3 4
dd3 9
dd3 15
dd3 25
I want to create another column showing a sequency like this THIS MEANS THAT WHEN I CHANGE THE PK I HAVE TO START WITH CERO.
PK FROM TO
dd1 0 2
dd1 2 4
dd1 4 6
dd1 6 8
dd1 8 9
dd2 0 1
dd2 1 3
dd2 3 6
dd2 6 9
dd3 0 3
dd3 3 4
dd3 4 9
dd3 9 15
dd3 15 25
CHEERS
View 4 Replies
View Related
Oct 18, 2012
how can i automatically update my tabular model in the future when there's an update in my database.
View 4 Replies
View Related
Nov 4, 2015
I get the following error while processing a SSAS tabular model (2014) on a new server.The SSAS service on this server is running under a login which has access to the SQL server data sources. I tried changing the provider to OLEDB from SQLCLNI11 in the connection string but that doesn't work too. The error message isn't useful to debug further.
The cube processing succeeds on a different server. I scripted out the cube DB and ran it on the new server and am trying to process full but it fails with the following error.
Error Message:
The operation failed because the source database does not exist, the source table does not exist, or because you do not have access to the data source.
More Details:
OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections.
For more information see SQL Server Books Online.; 08001; SSL Provider: No credentials are available in the security package
; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.
A connection could not be made to the data source with the DataSourceID of 'd7a37dae-be87-44e0-a8b2-498069af82c9', Name of 'connection name'.
An error occurred while processing the partition 'XXXX_460f3467-1a99-4dc9-aaf2-bcf3d54a5c4c' in table 'XXXX_460f3467-1a99-4dc9-aaf2-bcf3d54a5c4c'.
The current operation was cancelled because another operation in the transaction failed. The operation failed because the source database does not exist, the source table does not exist, or because you do not have access to the data source.
View 3 Replies
View Related
Sep 8, 2012
I have the following data in a table:
Account SEQ
12345 1
12345 2
12345 4
12345 5
12345 7
I need to fix the SEQ field so that no gaps exist, like this:
Account SEQ
12345 1
12345 2
12345 3
12345 4
12345 5
Is there a way to do this with T-SQL?
View 3 Replies
View Related
Jul 20, 2000
Hi,
I am trying to restore .DAT file from dump. Its giving me error ..saying that the sort order id used for dumping was 42 not the default value 52.
How can i change the sort order to 42.
I am using sql server 6.5
Thanks
Srinivas
View 4 Replies
View Related
Jan 13, 2000
We have a vendor who insists that sql server 7 be set to a binary sort order. Is there any real advantage to this as opposed to a dictionary sort?
View 2 Replies
View Related
Sep 20, 2000
HOW CAN I CHECK THE SORT ORDER OF MY OLD SERVER?
HELP
View 1 Replies
View Related
Oct 18, 1999
I'm trying to setup a duplicate of an old SQL Server 4.2 server to put in place while we upgrade the server, but I can't get the sort-order right. I know the existing server uses sort order id 40, but I can't find which sort-order that corresponds to during the install process. If anyone can give me a system table that lists all the sort orders names and id's, or can tell me what the text name for sort order 40 is, I would be very grateful.
Thanks,
Rob.
View 2 Replies
View Related
Jul 17, 1998
I need to copy the structure and data of an existing SQL 6.5 server to one with a different sort order. Normally, I would use the transfer tool to accomplish this, but the servers are on different networks. My question is, is BCP the answer? In other words, will the data copied via BCP from the sending server be able to be copied on the recieiving server. Also, is there a way to automatically generate the BCP statements for all tables? What I would really like is to be able to get at the scripts and data files created by the transfer tool.
View 1 Replies
View Related
Jul 9, 2001
How can I set the sort order to 42, nocase when I install sql server 6.5
does Setup gives you some option to check to set sort order ?
View 1 Replies
View Related
Mar 23, 2001
For SQL 2000,
Can I assign different sort order on the database level?
thanks!
View 2 Replies
View Related