当前位置:网站首页>How does sqlserver insert or update the number of weeks of the day instead of text
How does sqlserver insert or update the number of weeks of the day instead of text
2022-04-23 12:16:00 【CSDN Q & A】
SQLserver How to insert or update the number of weeks of the day ,bit Not the text .
Please grant me your advice
Take the answer :
Your problem can't be realized SQLServer bit type Can only store 0 1 null Unable to store the number of weeks . If you want to get the day of the week, you can use the following statement
-- Set the language of the database to Chinese
SET LANGUAGE N'Simplified Chinese'
-- Get the day of the week
SELECT DATENAME(weekday,GETDATE())
版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204162106055566.html
边栏推荐
- worder字体网页字体对照表
- 对称加密、证书加密
- 亿级流量架构,服务器如何扩容?写得太好了!
- Windows2008系统如何切换PHP版本
- thinkphp 添加图片文字水印生成带二维码的推广海报
- On lambda powertools typescript
- 一个平面设计师的异想世界|ONES 人物
- Solution of asynchronous clock metastability -- multi bit signal
- [redis series] redis learning 13. Redis often asks simple interview questions
- Outsourcing for five years, abandoned
猜你喜欢

Why is there a wrapper class? By the way, how to convert basic data types, wrapper classes and string classes?

c# 设置logo图标和快捷方式的图标

VMware virtual machines export hard disk vmdk files using esxi

C# F23. Stringsimilarity Library: String repeatability, text similarity, anti plagiarism

C# F23.StringSimilarity库 字符串重复度、文本相似度、防抄袭

外包干了五年,废了...

一文详解头部位姿估计【收藏好文】

The database navigator uses the default MySQL connection prompt: the server time zone value 'Ö Ð¹ ú±ê ×¼ ʱ ¼ ä’ is unrecognized or repres

In idea Solution to the problem of garbled code in Chinese display of properties file

AI video cloud vs narrowband HD, who is the darling of the video era
随机推荐
Use kettle to copy records to and get records from results
第四章 为IM 启用填充对象之启用和禁用列(IM-4.3 第三部分)
Introduction to metalama 4 Use fabric to manipulate items or namespaces
[redis series] redis learning 13. Redis often asks simple interview questions
NativeForMySQL 连接MySQL8 提示:1251- Client does not support authentication protocol
Next.js 静态数据生成以及服务端渲染的方式
How much does software testing help reduce program bugs?
第二十四课 经典问题解析
Win10 splash screen after startup
Fabric 1.0 source code analysis (33) implementation of peer channel command and subcommand
Windows11 安装MySQL服务 提示:Install/Remove of the Service Denied
After a circle, I sorted out this set of interview questions..
一个平面设计师的异想世界|ONES 人物
Qt双缓冲绘图
S2-062 remote command execution vulnerability recurrence (cve-2021-31805)
Array---
Lesson 24 analysis of classical problems
Idea setting copyright information
激活函数之阶跃函数
第五章 使用In-Memory表达式优化查询(IM 5.1)