473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Microsoft SQL Server Native Client 11.0 Error #4104

NeoPa
32,556 Expert Mod 16PB
I don't know what I'm missing. I have tried to run the following SQL from inside a QueryDef in Access (2003) but it keeps coming back with the error :
[Microsoft][SQL Server Native Client 11.0][SQL Server]The multi-part identifier "tW.WE" could not be bound (#4104)
That error text actually occurs four times in total in the message.
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO Avail
  2.      ( [BranchID]
  3.      , [EmpID]
  4.      , [W/E])
  5. SELECT [sqAllAvail].[BranchID]
  6.      , [sqAllAvail].[EmpID]
  7.      , [sqAllAvail].[W/E]
  8. FROM   (SELECT [tE].[BranchID]
  9.              , [tE].[EmpID]
  10.              , [tW].[WE] AS [W/E]
  11.         FROM   [Employees] AS [tE]
  12.              , [tblWE] AS [tW]
  13.         WHERE  ([tE].[Status]='C')
  14.           AND  ([tW].[WE] Between GetWE('w-3') And GetWE('w13'))) AS [sqAllAvail]
  15.        LEFT JOIN
  16.        [Avail]
  17.   ON   ([sqAllAvail].[BranchID]=[Avail].[BranchID])
  18.  AND   ([sqAllAvail].[EmpID]=[Avail].[EmpID])
  19.  AND   ([sqAllAvail].[W/E]=[Avail].[W/E])
  20. WHERE  ([Avail].[W/E] Is Null)
Clearly, the SQL that Access uses is different from this in layout but this is what I pasted into the QueryDef SQL window and it accepted it happily enough.

I looked through The multi-part identifier "%.*ls" could not be bound. and played around with the names of both the table and the field to try to ensure they wouldn't clash with anything else but none of the changes had the desired effect. I couldn't derive any more from what it was saying than that. Nothing else seemed relevant to this situation. Maybe I'm missing something.

For reference, all three tables are linked tables to the SQL Server 12 BE. GetWE() is a function that returns a Sunday date. The parameter 'w-3' means 3 weeks before the Sunday on or following today, and 'w13' means 13 weeks after.

[Avail] stores availability records per Employee (BranchID,EmpID) per Week (W/E). The cartesian product of [Employees] and [tblWE] reflects all possible [Avail] records for the range, but only those that don't match existing records are appended.

I also tried it without the table ALIAS of [tW], just using [tblWE] throughout. This had the same problem, reported as dbo.tblWE.WE.
May 31 '15 #1

✓ answered by ck9663

The query, as is, ran ok with in my query window. Although I have to replace the function with getdate() so it doesn't return any error. Unless your function refers to the column showing in the error message, then that could be what's offending your code.

I tried to recreate the query without a subquery. I'm not sure if this is what you need but it would go something like this:
Expand|Select|Wrap|Line Numbers
  1.  
  2. INSERT INTO Avail
  3.      ( [BranchID]
  4.      , [EmpID]
  5.      , [W/E])
  6. SELECT [tE].[BranchID], [tE].[EmpID], [tW].[WE] AS [W/E]
  7. FROM   [Employees] AS [tE]
  8. inner join [tblWE] AS [tW] on ([tE].[Status]='C') AND  ([tW].[WE] Between GetWE('w-3') And GetWE('w13'))
  9. where not exists (select 1 from [Avail]
  10.   where  ([tE].[BranchID]=[Avail].[BranchID])
  11.  AND   ([tE].[EmpID]=[Avail].[EmpID])
  12.  AND   ([tE].[W/E]=[Avail].[W/E]))
  13.  
  14.  
Good Luck!!!


~~ CK

10 3437
Rabbit
12,516 Expert Mod 8TB
I don't see anything explicitly wrong with the SQL.

Do you get the error if you don't alias the WE column?

What is the DDL of the Employee table?
Jun 1 '15 #2
ck9663
2,878 Expert 2GB
I don't see anything either. Can you run the subquery on its own and will it give you the same error? If you can give us the DDL of both tables, we might be able to recreate the issue and might be able to assist more.

You might be able to avoid subquery either to speed up your process. It looks like INNER joins and a NOT EXISTS where clause will do. Will not be able to completely confirm without additional details.

~~ CK
Jun 1 '15 #3
NeoPa
32,556 Expert Mod 16PB
Firstly, I can confirm that I get the same error in all situations I checked. That explicitly does include taking out the various ALIASES, as well as renaming [tblWE] and the [WE] field within it.

For DDL I assume you mean the layout as specified by what I get when I Script CREATE to a window. Let me warn that much of the table [Employees] is irrelevant to this (in my estimation), but I'll include it all anyway for completeness. I know the structure leaves a lot to be desired but in a live system it's hard to make fundamental changes without causing grief we can ill afford currently.

Expand|Select|Wrap|Line Numbers
  1. USE [FrontOffice]
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. SET QUOTED_IDENTIFIER ON
  6. GO
  7. SET ANSI_PADDING ON
  8. GO
  9. CREATE TABLE [dbo].[Employees](
  10.     [EmpID] [varchar](8) NOT NULL,
  11.     [Employee ID] [varchar](50) NULL,
  12.     [PrimaryID] [varchar](8) NULL,
  13.     [BranchID] [varchar](3) NULL,
  14.     [Status] [varchar](1) NOT NULL,
  15.     [Pending] [smallint] NOT NULL,
  16.     [Qualified] [smallint] NULL,
  17.     [Photograph] [varchar](100) NULL,
  18.     [Job Title] [varchar](50) NULL,
  19.     [Title] [varchar](50) NULL,
  20.     [First Name] [varchar](50) NULL,
  21.     [Surname] [varchar](50) NOT NULL,
  22.     [Address 1] [varchar](50) NULL,
  23.     [Address 2] [varchar](50) NULL,
  24.     [Address 3] [varchar](50) NULL,
  25.     [PostCode] [varchar](50) NULL,
  26.     [Zone] [varchar](2) NULL,
  27.     [Telephone] [varchar](20) NULL,
  28.     [Telephone(Day)] [varchar](50) NULL,
  29.     [Telephone(Eve)] [varchar](50) NULL,
  30.     [Mobile] [varchar](50) NULL,
  31.     [Date of Birth] [datetime2](7) NULL,
  32.     [NI Number] [varchar](9) NULL,
  33.     [Qualifications] [varchar](120) NULL,
  34.     [Notes] [varchar](200) NULL,
  35.     [Previous Surname] [varchar](50) NULL,
  36.     [Marital Status] [varchar](50) NULL,
  37.     [Nationality] [varchar](50) NULL,
  38.     [Visa Expiry] [datetime2](7) NULL,
  39.     [VisaRenewal] [datetime2](7) NULL,
  40.     [Religion] [varchar](50) NULL,
  41.     [Next of Kin] [varchar](50) NULL,
  42.     [Name] [varchar](50) NULL,
  43.     [Relationship] [varchar](50) NULL,
  44.     [Address] [varchar](50) NULL,
  45.     [Tel Day] [varchar](50) NULL,
  46.     [Tel Eve] [varchar](50) NULL,
  47.     [Ref 1] [varchar](50) NULL,
  48.     [Date Received] [datetime2](7) NULL,
  49.     [Check OK] [smallint] NULL,
  50.     [Ref 2] [varchar](50) NULL,
  51.     [Date Received2] [datetime2](7) NULL,
  52.     [Check OK2] [smallint] NULL,
  53.     [Serious Illness] [varchar](50) NULL,
  54.     [Last Employer] [varchar](50) NULL,
  55.     [Previous Employer] [varchar](50) NULL,
  56.     [Previous Employer2] [varchar](50) NULL,
  57.     [Previous Employer 3] [varchar](50) NULL,
  58.     [PIN Number] [varchar](50) NULL,
  59.     [PIInsurance] [smallint] NOT NULL,
  60.     [PIIExpiry] [datetime2](7) NULL,
  61.     [Availability Status] [varchar](50) NULL,
  62.     [Expiry Date] [datetime2](7) NULL,
  63.     [Transport] [smallint] NULL,
  64.     [Hospital Work OK] [smallint] NULL,
  65.     [Police Check] [smallint] NULL,
  66.     [Registration Date] [datetime2](7) NOT NULL,
  67.     [ID Badge Issued] [datetime2](7) NULL,
  68.     [CRB Disclosure Received] [datetime2](7) NULL,
  69.     [CRB Disclosure Number] [varchar](50) NULL,
  70.     [CRB Disclosure Appl] [varchar](50) NULL,
  71.     [CRB Status] [varchar](12) NULL,
  72.     [CRB Payment] [varchar](50) NULL,
  73.     [Hep B] [smallint] NULL,
  74.     [MMR] [smallint] NULL,
  75.     [TB] [smallint] NULL,
  76.     [Varicella] [smallint] NULL,
  77.     [Occupational Health Check] [datetime2](7) NULL,
  78.     [By] [varchar](50) NULL,
  79.     [PASA Compliant] [varchar](50) NULL,
  80.     [Interviewed by] [varchar](50) NULL,
  81.     [Lottery Number] [varchar](50) NULL,
  82.     [NVQ2] [smallint] NULL,
  83.     [NVQ3] [smallint] NULL,
  84.     [Senior Interview] [smallint] NULL,
  85.     [Mandatory Training] [smallint] NULL,
  86.     [Proof of Identity] [varchar](50) NULL,
  87.     [Proof of Address] [varchar](50) NULL,
  88.     [Proof of NI Number] [varchar](50) NULL,
  89.     [Proof of Right to Work] [varchar](50) NULL,
  90.     [Proof of Full Work History] [smallint] NULL,
  91.     [Photo x 2] [smallint] NULL,
  92.     [Communication Skills] [varchar](50) NULL,
  93.     [Handbook Issued] [smallint] NULL,
  94.     [Terms of Engagement] [smallint] NULL,
  95.     [NMC Web Check] [smallint] NULL,
  96.     [Suspend] [smallint] NULL,
  97.     [email] [varchar](50) NULL,
  98.     [Introduction] [varchar](50) NULL,
  99.     [Student Visa] [smallint] NULL,
  100.     [Dual Registered] [smallint] NULL,
  101.     [Employee Group] [varchar](50) NULL,
  102.     [HCCPIN] [varchar](10) NULL,
  103.     [StatusUpdated] [datetime2](7) NULL,
  104.     [Leaving Date] [datetime2](7) NULL,
  105.     [PermanentStaff] [smallint] NOT NULL,
  106.     [CRBPositive] [smallint] NOT NULL,
  107.     [Gender] [varchar](1) NULL,
  108.  CONSTRAINT [PK_Employees] PRIMARY KEY CLUSTERED 
  109. (
  110.     [EmpID] ASC
  111. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  112.  CONSTRAINT [UX1_Employees] UNIQUE NONCLUSTERED 
  113. (
  114.     [BranchID] ASC,
  115.     [EmpID] ASC
  116. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  117.  CONSTRAINT [UX2_Employees] UNIQUE NONCLUSTERED 
  118. (
  119.     [Status] ASC,
  120.     [EmpID] ASC
  121. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  122.  CONSTRAINT [UX3_Employees] UNIQUE NONCLUSTERED 
  123. (
  124.     [BranchID] ASC,
  125.     [Status] ASC,
  126.     [EmpID] ASC
  127. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  128.  CONSTRAINT [UX4_Employees] UNIQUE NONCLUSTERED 
  129. (
  130.     [Employee ID] ASC
  131. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  132. ) ON [PRIMARY]
  133. GO
  134.  
  135. SET ANSI_PADDING ON
  136. GO
  137. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_Status]  DEFAULT ('P') FOR [Status]
  138. GO
  139. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_Pending]  DEFAULT ((-1)) FOR [Pending]
  140. GO
  141. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_Zone]  DEFAULT ('01') FOR [Zone]
  142. GO
  143. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_PIInsurance]  DEFAULT ((0)) FOR [PIInsurance]
  144. GO
  145. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_Registration Date]  DEFAULT (CONVERT([date],getdate())) FOR [Registration Date]
  146. GO
  147. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_StatusUpdated]  DEFAULT (CONVERT([date],getdate())) FOR [StatusUpdated]
  148. GO
  149. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_PermanentStaff]  DEFAULT ((0)) FOR [PermanentStaff]
  150. GO
  151. ALTER TABLE [dbo].[Employees] ADD  CONSTRAINT [DF_Employees_CRBPositive]  DEFAULT ((0)) FOR [CRBPositive]
  152. GO
  153. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Address] CHECK  (([Address]<>''))
  154. GO
  155. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Address]
  156. GO
  157. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Address 1] CHECK  (([Address 1]<>''))
  158. GO
  159. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Address 1]
  160. GO
  161. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Address 2] CHECK  (([Address 2]<>''))
  162. GO
  163. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Address 2]
  164. GO
  165. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Address 3] CHECK  (([Address 3]<>''))
  166. GO
  167. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Address 3]
  168. GO
  169. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Availability Status] CHECK  (([Availability Status]<>''))
  170. GO
  171. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Availability Status]
  172. GO
  173. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_BranchID] CHECK  (([BranchID]<>''))
  174. GO
  175. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_BranchID]
  176. GO
  177. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_By] CHECK  (([By]<>''))
  178. GO
  179. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_By]
  180. GO
  181. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_EmpID] CHECK  (([EmpID]<>''))
  182. GO
  183. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_EmpID]
  184. GO
  185. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Employee ID] CHECK  (([Employee ID]<>''))
  186. GO
  187. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Employee ID]
  188. GO
  189. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_First Name] CHECK  (([First Name]<>''))
  190. GO
  191. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_First Name]
  192. GO
  193. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Gender] CHECK  (([Gender]<>''))
  194. GO
  195. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Gender]
  196. GO
  197. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_HCCPIN] CHECK  (([HCCPIN]<>''))
  198. GO
  199. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_HCCPIN]
  200. GO
  201. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Interviewed by] CHECK  (([Interviewed by]<>''))
  202. GO
  203. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Interviewed by]
  204. GO
  205. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Job Title] CHECK  (([Job Title]<>''))
  206. GO
  207. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Job Title]
  208. GO
  209. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Last Employer] CHECK  (([Last Employer]<>''))
  210. GO
  211. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Last Employer]
  212. GO
  213. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Marital Status] CHECK  (([Marital Status]<>''))
  214. GO
  215. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Marital Status]
  216. GO
  217. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Mobile] CHECK  (([Mobile]<>''))
  218. GO
  219. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Mobile]
  220. GO
  221. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Name] CHECK  (([Name]<>''))
  222. GO
  223. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Name]
  224. GO
  225. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Nationality] CHECK  (([Nationality]<>''))
  226. GO
  227. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Nationality]
  228. GO
  229. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Next of Kin] CHECK  (([Next of Kin]<>''))
  230. GO
  231. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Next of Kin]
  232. GO
  233. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_NI Number] CHECK  (([NI Number]<>''))
  234. GO
  235. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_NI Number]
  236. GO
  237. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Notes] CHECK  (([Notes]<>''))
  238. GO
  239. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Notes]
  240. GO
  241. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Photograph] CHECK  (([Photograph]<>''))
  242. GO
  243. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Photograph]
  244. GO
  245. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_PIN Number] CHECK  (([PIN Number]<>''))
  246. GO
  247. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_PIN Number]
  248. GO
  249. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_PostCode] CHECK  (([PostCode]<>''))
  250. GO
  251. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_PostCode]
  252. GO
  253. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Previous Employer] CHECK  (([Previous Employer]<>''))
  254. GO
  255. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Previous Employer]
  256. GO
  257. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Previous Employer 3] CHECK  (([Previous Employer 3]<>''))
  258. GO
  259. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Previous Employer 3]
  260. GO
  261. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Previous Employer2] CHECK  (([Previous Employer2]<>''))
  262. GO
  263. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Previous Employer2]
  264. GO
  265. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Previous Surname] CHECK  (([Previous Surname]<>''))
  266. GO
  267. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Previous Surname]
  268. GO
  269. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_PrimaryID] CHECK  (([PrimaryID]<>''))
  270. GO
  271. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_PrimaryID]
  272. GO
  273. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Qualifications] CHECK  (([Qualifications]<>''))
  274. GO
  275. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Qualifications]
  276. GO
  277. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Ref 1] CHECK  (([Ref 1]<>''))
  278. GO
  279. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Ref 1]
  280. GO
  281. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Ref 2] CHECK  (([Ref 2]<>''))
  282. GO
  283. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Ref 2]
  284. GO
  285. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Relationship] CHECK  (([Relationship]<>''))
  286. GO
  287. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Relationship]
  288. GO
  289. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Religion] CHECK  (([Religion]<>''))
  290. GO
  291. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Religion]
  292. GO
  293. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Serious Illness] CHECK  (([Serious Illness]<>''))
  294. GO
  295. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Serious Illness]
  296. GO
  297. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Status] CHECK  (([Status]<>''))
  298. GO
  299. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Status]
  300. GO
  301. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Surname] CHECK  (([Surname]<>''))
  302. GO
  303. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Surname]
  304. GO
  305. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Tel Day] CHECK  (([Tel Day]<>''))
  306. GO
  307. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Tel Day]
  308. GO
  309. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Tel Eve] CHECK  (([Tel Eve]<>''))
  310. GO
  311. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Tel Eve]
  312. GO
  313. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Telephone] CHECK  (([Telephone]<>''))
  314. GO
  315. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Telephone]
  316. GO
  317. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Telephone(Day)] CHECK  (([Telephone(Day)]<>''))
  318. GO
  319. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Telephone(Day)]
  320. GO
  321. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Telephone(Eve)] CHECK  (([Telephone(Eve)]<>''))
  322. GO
  323. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Telephone(Eve)]
  324. GO
  325. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Title] CHECK  (([Title]<>''))
  326. GO
  327. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Title]
  328. GO
  329. ALTER TABLE [dbo].[Employees]  WITH CHECK ADD  CONSTRAINT [CK_Employees_Zone] CHECK  (([Zone]<>''))
  330. GO
  331. ALTER TABLE [dbo].[Employees] CHECK CONSTRAINT [CK_Employees_Zone]
  332. GO
Expand|Select|Wrap|Line Numbers
  1. USE [FrontOffice]
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. SET QUOTED_IDENTIFIER ON
  6. GO
  7. SET ANSI_PADDING ON
  8. GO
  9.  
  10. CREATE TABLE [dbo].[Avail](
  11.     [AvailID] [int] IDENTITY(1,1) NOT NULL,
  12.     [BranchID] [varchar](8) NOT NULL,
  13.     [EmpID] [varchar](8) NOT NULL,
  14.     [W/E] [datetime2](7) NOT NULL,
  15.     [Mon Early] [varchar](1) NULL,
  16.     [Mon Late] [varchar](1) NULL,
  17.     [Mon Night] [varchar](1) NULL,
  18.     [Tue Early] [varchar](1) NULL,
  19.     [Tue Late] [varchar](1) NULL,
  20.     [Tue Night] [varchar](1) NULL,
  21.     [Wed Early] [varchar](1) NULL,
  22.     [Wed Late] [varchar](1) NULL,
  23.     [Wed Night] [varchar](1) NULL,
  24.     [Thu Early] [varchar](1) NULL,
  25.     [Thu Late] [varchar](1) NULL,
  26.     [Thu Night] [varchar](1) NULL,
  27.     [Fri Early] [varchar](1) NULL,
  28.     [Fri Late] [varchar](1) NULL,
  29.     [Fri Night] [varchar](1) NULL,
  30.     [Sat Early] [varchar](1) NULL,
  31.     [Sat Late] [varchar](1) NULL,
  32.     [Sat Night] [varchar](1) NULL,
  33.     [Sun Early] [varchar](1) NULL,
  34.     [Sun Late] [varchar](1) NULL,
  35.     [Sun Night] [varchar](1) NULL,
  36.     [Availability Notes] [varchar](50) NULL,
  37.     [Meds] [smallint] NULL,
  38.  CONSTRAINT [PK_Avail] PRIMARY KEY CLUSTERED 
  39. (
  40.     [AvailID] ASC
  41. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  42.  CONSTRAINT [UX1_Avail] UNIQUE NONCLUSTERED 
  43. (
  44.     [EmpID] ASC,
  45.     [W/E] ASC
  46. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  47.  CONSTRAINT [UX2_Avail] UNIQUE NONCLUSTERED 
  48. (
  49.     [BranchID] ASC,
  50.     [EmpID] ASC,
  51.     [W/E] ASC
  52. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  53.  CONSTRAINT [UX3_Avail] UNIQUE NONCLUSTERED 
  54. (
  55.     [W/E] ASC,
  56.     [EmpID] ASC
  57. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
  58.  CONSTRAINT [UX4_Avail] UNIQUE NONCLUSTERED 
  59. (
  60.     [W/E] ASC,
  61.     [BranchID] ASC,
  62.     [EmpID] ASC
  63. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  64. ) ON [PRIMARY]
  65. GO
  66.  
  67. SET ANSI_PADDING ON
  68. GO
  69. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Availability Notes] CHECK  (([Availability Notes]<>''))
  70. GO
  71. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Availability Notes]
  72. GO
  73. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_BranchID] CHECK  (([BranchID]<>''))
  74. GO
  75. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_BranchID]
  76. GO
  77. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_EmpID] CHECK  (([EmpID]<>''))
  78. GO
  79. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_EmpID]
  80. GO
  81. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Fri Early] CHECK  (([Fri Early]<>''))
  82. GO
  83. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Fri Early]
  84. GO
  85. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Fri Late] CHECK  (([Fri Late]<>''))
  86. GO
  87. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Fri Late]
  88. GO
  89. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Fri Night] CHECK  (([Fri Night]<>''))
  90. GO
  91. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Fri Night]
  92. GO
  93. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Mon Early] CHECK  (([Mon Early]<>''))
  94. GO
  95. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Mon Early]
  96. GO
  97. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Mon Late] CHECK  (([Mon Late]<>''))
  98. GO
  99. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Mon Late]
  100. GO
  101. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Mon Night] CHECK  (([Mon Night]<>''))
  102. GO
  103. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Mon Night]
  104. GO
  105. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sat Early] CHECK  (([Sat Early]<>''))
  106. GO
  107. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sat Early]
  108. GO
  109. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sat Late] CHECK  (([Sat Late]<>''))
  110. GO
  111. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sat Late]
  112. GO
  113. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sat Night] CHECK  (([Sat Night]<>''))
  114. GO
  115. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sat Night]
  116. GO
  117. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sun Early] CHECK  (([Sun Early]<>''))
  118. GO
  119. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sun Early]
  120. GO
  121. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sun Late] CHECK  (([Sun Late]<>''))
  122. GO
  123. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sun Late]
  124. GO
  125. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Sun Night] CHECK  (([Sun Night]<>''))
  126. GO
  127. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Sun Night]
  128. GO
  129. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Thu Early] CHECK  (([Thu Early]<>''))
  130. GO
  131. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Thu Early]
  132. GO
  133. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Thu Late] CHECK  (([Thu Late]<>''))
  134. GO
  135. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Thu Late]
  136. GO
  137. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Thu Night] CHECK  (([Thu Night]<>''))
  138. GO
  139. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Thu Night]
  140. GO
  141. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Tue Early] CHECK  (([Tue Early]<>''))
  142. GO
  143. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Tue Early]
  144. GO
  145. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Tue Late] CHECK  (([Tue Late]<>''))
  146. GO
  147. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Tue Late]
  148. GO
  149. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Tue Night] CHECK  (([Tue Night]<>''))
  150. GO
  151. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Tue Night]
  152. GO
  153. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Wed Early] CHECK  (([Wed Early]<>''))
  154. GO
  155. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Wed Early]
  156. GO
  157. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Wed Late] CHECK  (([Wed Late]<>''))
  158. GO
  159. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Wed Late]
  160. GO
  161. ALTER TABLE [dbo].[Avail]  WITH CHECK ADD  CONSTRAINT [CK_Avail_Wed Night] CHECK  (([Wed Night]<>''))
  162. GO
  163. ALTER TABLE [dbo].[Avail] CHECK CONSTRAINT [CK_Avail_Wed Night]
  164. GO
Expand|Select|Wrap|Line Numbers
  1. USE [FrontOffice]
  2. GO
  3. SET ANSI_NULLS ON
  4. GO
  5. SET QUOTED_IDENTIFIER ON
  6. GO
  7.  
  8. CREATE TABLE [dbo].[tblWE](
  9.     [WE] [datetime2](7) NOT NULL,
  10.  CONSTRAINT [PK_tblWE] PRIMARY KEY CLUSTERED 
  11. (
  12.     [WE] ASC
  13. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  14. ) ON [PRIMARY]
  15. GO
@CK.
I'm not sure I can see how I could redo without a subquery. Perhaps you could explain, assuming it turns out that it's possible in the circumstances.

Sometimes, in Access, I've had to find ways around the limitations of Jet/ACE SQL as it often decides that particular approaches result in a non-updatable data set. It may well be that, without the same limitations, T-SQL allows a more straightforward approach. Bear in mind though, that for now at least, my main and very important requirement is to keep the SQL in Access for now. The less changes I have to make before I can show a workable system the better it looks. Later on I plan to add improvements by moving more to SQL Server where I can find benefits, but that's definitely a later stage of the project if I can get away with it.
Jun 1 '15 #4
Rabbit
12,516 Expert Mod 8TB
I don't see any conflicts. Are there any user defined data types in the database?

Does the subquery run by itself?
Jun 1 '15 #5
ck9663
2,878 Expert 2GB
The query, as is, ran ok with in my query window. Although I have to replace the function with getdate() so it doesn't return any error. Unless your function refers to the column showing in the error message, then that could be what's offending your code.

I tried to recreate the query without a subquery. I'm not sure if this is what you need but it would go something like this:
Expand|Select|Wrap|Line Numbers
  1.  
  2. INSERT INTO Avail
  3.      ( [BranchID]
  4.      , [EmpID]
  5.      , [W/E])
  6. SELECT [tE].[BranchID], [tE].[EmpID], [tW].[WE] AS [W/E]
  7. FROM   [Employees] AS [tE]
  8. inner join [tblWE] AS [tW] on ([tE].[Status]='C') AND  ([tW].[WE] Between GetWE('w-3') And GetWE('w13'))
  9. where not exists (select 1 from [Avail]
  10.   where  ([tE].[BranchID]=[Avail].[BranchID])
  11.  AND   ([tE].[EmpID]=[Avail].[EmpID])
  12.  AND   ([tE].[W/E]=[Avail].[W/E]))
  13.  
  14.  
Good Luck!!!


~~ CK
Jun 1 '15 #6
NeoPa
32,556 Expert Mod 16PB
I can say now that there are no User Defined types in the database at all.

Otherwise I'm critically short of time today and I'd like to give your responses the full time and attention they deserve before responding properly.
Jun 2 '15 #7
NeoPa
32,556 Expert Mod 16PB
Hi CK.

After fixing a couple of minor typos I translated your suggestion into this :
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO [Avail]
  2.      ( [BranchID]
  3.      , [EmpID]
  4.      , [W/E])
  5. SELECT [tE].[BranchID]
  6.      , [tE].[EmpID]
  7.      , [tW].[WE] AS [W/E]
  8. FROM   [Employees] AS [tE]
  9.        INNER JOIN
  10.        [tblWE] AS [tW]
  11.   ON   ([tE].[Status]='C')
  12.  AND   ([tW].[WE] Between GetWE('w-3') And GetWE('w13'))
  13. WHERE  NOT EXISTS (SELECT 1
  14.                    FROM   [Avail]
  15.                    WHERE  ([Avail].[BranchID]=[tE].[BranchID])
  16.                      AND  ([Avail].[EmpID]=[tE].[EmpID])
  17.                      AND  ([Avail].[W/E]=[tW].[WE]))
I trust it is an accurate reflection of your idea. It took me a while to realise that, indeed it was an accurate reflection of the logic.

When I tried it out I found, not entirely to my surprise because I've tried similar JOINs before in Jet/ACE, that the JOIN expressiion isn't supported.
Realising that the JOIN wasn't fundamental to the whole idea but just a nice extra to have, I tried :
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO [Avail]
  2.      ( [BranchID]
  3.      , [EmpID]
  4.      , [W/E])
  5. SELECT [tE].[BranchID]
  6.      , [tE].[EmpID]
  7.      , [tW].[WE] AS [W/E]
  8. FROM   [Employees] AS [tE]
  9.      , [tblWE] AS [tW]
  10. WHERE  ([tE].[Status]='C')
  11.   AND  ([tW].[WE] Between GetWE('w-3') And GetWE('w13'))
  12.   AND  NOT EXISTS (SELECT 1
  13.                    FROM   [Avail]
  14.                    WHERE  ([Avail].[BranchID]=[tE].[BranchID])
  15.                      AND  ([Avail].[EmpID]=[tE].[EmpID])
  16.                      AND  ([Avail].[W/E]=[tW].[WE]))
This one worked!!!!! :-)

Hopefully I'll let this technique sink down into my psyche and come up with it, or something like it, in future when doing similar work. It's a struggle though. I never seem to think of subqueries in the WHERE clause even though Rabbit's been posting examples of it in Bytes for many years.
Jun 2 '15 #8
NeoPa
32,556 Expert Mod 16PB
Rabbit:
Does the subquery run by itself?
Yes. Strangely, it does.

It goes without saying, but I'm going to anyway, that I'm very grateful to you both for your time and efforts spent helping me. It has been tremendously helpful to me in truth.
Jun 2 '15 #9
Rabbit
12,516 Expert Mod 8TB
You're welcome, it's my pleasure. It's unfortunate we couldn't figure out what's causing the error. I have no idea why the subquery in the join doesn't work. I see nothing wrong with it.

I tend to avoid subqueries in the WHERE clause when I can make do with a subquery in the FROM clause. I find that the performance is usually better.
Jun 2 '15 #10
NeoPa
32,556 Expert Mod 16PB
That's very good to know. It tends to be my way of thinking generally, but then I overlook the whole idea of subqueries in the WHERE clasue completely most times.
Jun 2 '15 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException...
4
by: whitemoss | last post by:
Hi, I've made some changes to my coding..but unfortunately, there were errors when compiling it..dunno how to solve it..hope anyone can help me...the errors: client.c: In function senddata:...
0
by: Peter | last post by:
Hi all, I am having trouble to get the bulk copy operations working in collaboration with SQL Native Client. My test program crashed with an access violation in the call to bcp_init. I...
4
by: choonmui | last post by:
hello, i am new in vb .net and face some problem. i wanna seach function so that user can search certain file according to what they key in. ex: year, modelID and so on.. there is error...
2
by: thumban | last post by:
Hi, I was trying to commmunicate between a server and a client. The SERVER and CLIENT scripts are given below. With this script i was able to get the message from the server only if i type...
3
by: vainstah | last post by:
Hello Guys, I am writing a high performance win32 telemetry midleware service which uploads to SQL server in bulk frequently. I know how to do simple things in ODBC native-client. ODBC...
2
by: =?Utf-8?B?QnJlbnQgUm9nZXJz?= | last post by:
I have a asp page that does a Respnse.Redirect() and sometimes I keep getting a "Cannot find server or DNS Error" . I have validated that the URL being redirected to is valid. The URL...
0
by: NileshJethawa1 | last post by:
Hello Friends, I am new to SQL Server. I have query regarding SQL Server Native Client. How to make connection with SQL Server using native client . I already make connection using ODBC and OLE...
0
by: alexx12 | last post by:
I am developing a client server application in C#. I am sending from my server to client an object of `Student` type which I serialize on the server side and deserialize on client side. The...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.