sysobjects

How to generate a syso-file for Go in a windows pipline on Azure DevOps

我们两清 提交于 2020-08-10 13:05:38
问题 I want to use a syso-file by go build to set an icon for my executable. Everything works fine on my win10 notebook, but when I use the same syso-file (checked in with git lfs) with ubuntu-latest or windows-latest I get this message: C:\Users\VSSADM~1\AppData\Local\Temp\go-build430615882\b001\_pkg_.a(rsrc.syso): not an object file ##[error]The Go task failed with an error: Error: The process 'C:\hostedtoolcache\windows\go\1.14.2\x64\bin\go.exe' failed with exit code 2 When I try to recreate

How to generate a syso-file for Go in a windows pipline on Azure DevOps

大兔子大兔子 提交于 2020-08-10 13:03:40
问题 I want to use a syso-file by go build to set an icon for my executable. Everything works fine on my win10 notebook, but when I use the same syso-file (checked in with git lfs) with ubuntu-latest or windows-latest I get this message: C:\Users\VSSADM~1\AppData\Local\Temp\go-build430615882\b001\_pkg_.a(rsrc.syso): not an object file ##[error]The Go task failed with an error: Error: The process 'C:\hostedtoolcache\windows\go\1.14.2\x64\bin\go.exe' failed with exit code 2 When I try to recreate

How to generate a syso-file for Go in a windows pipline on Azure DevOps

旧时模样 提交于 2020-08-10 13:03:31
问题 I want to use a syso-file by go build to set an icon for my executable. Everything works fine on my win10 notebook, but when I use the same syso-file (checked in with git lfs) with ubuntu-latest or windows-latest I get this message: C:\Users\VSSADM~1\AppData\Local\Temp\go-build430615882\b001\_pkg_.a(rsrc.syso): not an object file ##[error]The Go task failed with an error: Error: The process 'C:\hostedtoolcache\windows\go\1.14.2\x64\bin\go.exe' failed with exit code 2 When I try to recreate

How to generate a syso-file for Go in a windows pipline on Azure DevOps

你。 提交于 2020-08-10 13:02:57
问题 I want to use a syso-file by go build to set an icon for my executable. Everything works fine on my win10 notebook, but when I use the same syso-file (checked in with git lfs) with ubuntu-latest or windows-latest I get this message: C:\Users\VSSADM~1\AppData\Local\Temp\go-build430615882\b001\_pkg_.a(rsrc.syso): not an object file ##[error]The Go task failed with an error: Error: The process 'C:\hostedtoolcache\windows\go\1.14.2\x64\bin\go.exe' failed with exit code 2 When I try to recreate

Discover primary / unique keys in Sybase ASE

房东的猫 提交于 2019-12-20 04:27:06
问题 In Sybase ASE, I would like to discover all primary and unique keys. I want to do something similar to what is explained in this answer: Identifying Sybase tables, fields, keys, constraints But unfortunately, this doesn't work for me. Somehow the syskeys table does return any rows for my own keys, only for system table keys. What may I be doing wrong? Some missing grants? I have installed Sybase ASE 15.5 and I'm connecting with user dbo , login sa 回答1: When you explicitly declare a key field

What is syncobj in SQL Server

青春壹個敷衍的年華 提交于 2019-12-07 00:38:06
问题 When I run this script to search particular text in sys.columns and I get a lot of "dbo.syncobj_0x3934443438443332" like rows. SELECT c.name, s.name + '.' + o.name FROM sys.columns c INNER JOIN sys.objects o ON c.object_id=o.object_id INNER JOIN sys.schemas s ON o.schema_id=s.schema_id WHERE c.name LIKE '%text%' If I get it right, they are replication objects. Is it so? Can i just throw them away from my query just like o.name NOT LIKE '%syncobj%' or there's another way? Thank you. 回答1: I've

Discover primary / unique keys in Sybase ASE

我只是一个虾纸丫 提交于 2019-12-02 04:14:06
In Sybase ASE, I would like to discover all primary and unique keys. I want to do something similar to what is explained in this answer: Identifying Sybase tables, fields, keys, constraints But unfortunately, this doesn't work for me. Somehow the syskeys table does return any rows for my own keys, only for system table keys. What may I be doing wrong? Some missing grants? I have installed Sybase ASE 15.5 and I'm connecting with user dbo , login sa When you explicitly declare a key field - say in a CREATE TABLE statement - this doesn't populate the syskeys table. You would use (e.g.) sp

Identifying Sybase tables, fields, keys, constraints

◇◆丶佛笑我妖孽 提交于 2019-11-29 16:19:35
I'm trying to set up a Sybase query that will give me the following output: Table KeyType KeyNumber Column table1 PK 1 table1_id table1 FK 2 table2_id table1 FK 3 table3_id table1 FK 4 table4_id table1 Unique 5 table1_abc table1 Unique 5 table1_def In other words, I need the PK for each table, and every foreign key it has, as well as every unique key (not where a key has more than one element, such as the unique key above, this is identified by having the same KeyNumber). I'm guessing I need to use sysobject, syscolumns, syskeys and sysconstraints but I can't seem to figure out how they

Identifying Sybase tables, fields, keys, constraints

我与影子孤独终老i 提交于 2019-11-28 09:24:21
问题 I'm trying to set up a Sybase query that will give me the following output: Table KeyType KeyNumber Column table1 PK 1 table1_id table1 FK 2 table2_id table1 FK 3 table3_id table1 FK 4 table4_id table1 Unique 5 table1_abc table1 Unique 5 table1_def In other words, I need the PK for each table, and every foreign key it has, as well as every unique key (not where a key has more than one element, such as the unique key above, this is identified by having the same KeyNumber). I'm guessing I need

The SELECT permission was denied on the object 'sysobjects', database 'mssqlsystemresource', schema 'sys'

萝らか妹 提交于 2019-11-27 21:46:34
SETUP: SQL Server 2005 & DotNetNuke 05.01.02. This started with me trying to install a DNN Module that had "select * from dbo.sysobjects" in it's SQL scripts. That failed with the following error: The SELECT permission was denied on the object 'sysobjects', database 'mssqlsystemresource', schema 'sys'. I logged into the database via SQL Server Management Studio as the DNN user account, and I get the same error when I try and perform a SELECT on the sysobjects view. I tried to grant the DNN user account explicit SELECT permission to that view. When I check it by going to Security -> Users ->