摘要:
查每一张表的记录数(按记录数排序): SELECT t.NAME AS 表名, SUM(p.rows) AS 记录数 FROM sys.tables t INNER JOIN sys.indexes i ON t.OBJECT_ID = i.object_id INNER JOIN sys.part 阅读全文
摘要:
Unable to render this definition The provided definition does not specify a valid version field. Please indicate a valid Swagger or OpenAPI version fi 阅读全文
摘要:
升级一个老项目,用的是flutter,升级完了一直报错: /C:/Users/***/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The m 阅读全文
摘要:
问题: The current Gradle version 5.6.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.1.1 or newer, or the previous version of the 阅读全文
摘要:
错误: W/FlutterActivityAndFragmentDelegate(10811): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-mi 阅读全文
摘要:
问题:System.TypeLoadException: Method 'get_CoreOptions' in type 'Microsoft.EntityFrameworkCore.Internal.RelationalDatabaseFacadeDependencies' from assem 阅读全文
摘要:
Flutter的Dio报错: Connection closed before full header was received 可以检查一下是不是端口有问题。 同事把端口设置为1433,就报告这个错误。换个端口就好了。 1433是SqlServer的端口,因此有是可能APP连接到别人的应用服务器上 阅读全文
摘要:
FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':shared_preferences:verifyReleaseResources'.> A failure occurred 阅读全文
摘要:
错误:Target of URI doesn't exist: package:fultter/material.dart 原因:flutter版本不匹配。flutter升级到了最新版本,而项目引用的是老版本。 解决:把项目引用的flutter升级到新版本。 错误:Unable to locate 阅读全文
摘要:
declare @database nvarchar(100) declare tmpCur cursor for select DB_NAME() open tmpCur fetch next from tmpCur into @database declare @sql nvarchar(500 阅读全文
摘要:
--在SQL2008中清除日志就必须在简单模式下进行,等清除动作完毕再调回到完全模式。 USE [master]GO --GPSLocus是要清除日志的数据库名称ALTER DATABASE [DbName] SET RECOVERY SIMPLE WITH NO_WAITGOALTER DATAB 阅读全文
摘要:
在C# 4.0中可以通过委托某个成员的实现来实现一个接口,例如下面的代码:public class Foo : IList{ private List _Collection implements IList; public Foo() { _Collection = new List(); }}元组:var list = new List>(){Tuple.Create(1, "a", new object()),Tuple.Create(2, "b", new object()),}; 阅读全文